mirror of
https://github.com/webui-dev/webui.git
synced 2024-09-11 22:17:13 +03:00
Sort process_id functions in webui.h, update comment
This commit is contained in:
parent
5b784789ad
commit
61501ee959
@ -471,6 +471,12 @@ WEBUI_EXPORT void webui_delete_all_profiles();
|
||||
*/
|
||||
WEBUI_EXPORT void webui_delete_profile(size_t window);
|
||||
|
||||
// Get the ID of the parent process (The web browser may create another process for the window)
|
||||
WEBUI_EXPORT size_t webui_get_parent_process_id(size_t window);
|
||||
|
||||
// Get the ID of the child process (The web browser may create another process for the window)
|
||||
WEBUI_EXPORT size_t webui_get_child_process_id(size_t window);
|
||||
|
||||
// -- JavaScript ----------------------
|
||||
|
||||
// Run JavaScript without waiting for the response.
|
||||
@ -500,10 +506,6 @@ WEBUI_EXPORT void webui_return_string(webui_event_t* e, const char* s);
|
||||
// Return the response to JavaScript as boolean.
|
||||
WEBUI_EXPORT void webui_return_bool(webui_event_t* e, bool b);
|
||||
|
||||
// Get process id (The web browser may create another process for the window)
|
||||
WEBUI_EXPORT size_t webui_get_child_process_id(size_t window);
|
||||
WEBUI_EXPORT size_t webui_get_parent_process_id(size_t window);
|
||||
|
||||
// -- Wrapper's Interface -------------
|
||||
|
||||
// Bind a specific html element click event with a function. Empty element means all events. This replaces `webui_bind()`. The func is (Window, EventType, Element, Data, DataSize, EventNumber).
|
||||
|
Loading…
Reference in New Issue
Block a user