comparison gtk/dw.c @ 2976:b40adda4a129

OS2/GTK2/Template: Add empty dw_html_javascript_add() functions. OS/2 does not support HTML and GTK2 does not support a WebKit that will allow DW_SIGNAL_HTML_MESSAGE, so implement failure functions.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 24 Mar 2023 17:28:21 +0000
parents 0577a97fe36d
children 8450b87e960c
comparison
equal deleted inserted replaced
2975:ae4d6856b983 2976:b40adda4a129
13283 # endif 13283 # endif
13284 # endif 13284 # endif
13285 #endif 13285 #endif
13286 13286
13287 /* 13287 /*
13288 * Install a javascript function with name that can call native code.
13289 * Parameters:
13290 * handle: Handle to the HTML window.
13291 * name: Javascript function name.
13292 * Notes: A DW_SIGNAL_HTML_MESSAGE event will be raised with scriptdata.
13293 * Returns:
13294 * DW_ERROR_NONE (0) on success.
13295 */
13296 int API dw_html_javascript_add(HWND handle, const char *name)
13297 {
13298 return DW_ERROR_UNKNOWN;
13299 }
13300
13301 /*
13288 * Create a new Entryfield window (widget) to be packed. 13302 * Create a new Entryfield window (widget) to be packed.
13289 * Parameters: 13303 * Parameters:
13290 * text: The default text to be in the entryfield widget. 13304 * text: The default text to be in the entryfield widget.
13291 * id: An ID to be used with dw_window_from_id() or 0L. 13305 * id: An ID to be used with dw_window_from_id() or 0L.
13292 */ 13306 */