Mercurial > dwindows
comparison os2/dw.c @ 2015:c30f4354966e
Win: Added support for dw_html_javascript_run() using Edge (Chromium).
OS/2: Added dw_html_javascript_run() stub for OS/2 so things compile.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 07 Nov 2019 10:12:25 +0000 |
parents | 21811c9e2eaf |
children | 7f2fb0c602f0 |
comparison
equal
deleted
inserted
replaced
2014:b1838dd5509a | 2015:c30f4354966e |
---|---|
12861 url = url; | 12861 url = url; |
12862 return -1; | 12862 return -1; |
12863 } | 12863 } |
12864 | 12864 |
12865 /* | 12865 /* |
12866 * Executes the javascript contained in "script" in the HTML window. | |
12867 * Parameters: | |
12868 * handle: Handle to the HTML window. | |
12869 * script: Javascript code to execute. | |
12870 * scriptdata: Data passed to the signal handler. | |
12871 * Notes: A DW_SIGNAL_HTML_RESULT event will be raised with scriptdata. | |
12872 * Returns: | |
12873 * DW_ERROR_NONE (0) on success. | |
12874 */ | |
12875 int dw_html_javascript_run(HWND handle, char *script, void *scriptdata) | |
12876 { | |
12877 handle = handle; | |
12878 script = script; | |
12879 scriptdata = scriptdata; | |
12880 return DW_ERROR_UNKNOWN; | |
12881 } | |
12882 | |
12883 /* | |
12866 * Create a new HTML window (widget) to be packed. | 12884 * Create a new HTML window (widget) to be packed. |
12867 * Not available under OS/2, eCS | 12885 * Not available under OS/2, eCS |
12868 * Parameters: | 12886 * Parameters: |
12869 * text: The default text to be in the entryfield widget. | 12887 * text: The default text to be in the entryfield widget. |
12870 * id: An ID to be used with dw_window_from_id() or 0L. | 12888 * id: An ID to be used with dw_window_from_id() or 0L. |