diff options
Diffstat (limited to 'windows/gui.h')
-rw-r--r-- | windows/gui.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/windows/gui.h b/windows/gui.h index f4eca062c..957d9a520 100644 --- a/windows/gui.h +++ b/windows/gui.h @@ -87,4 +87,13 @@ struct browser_window *gui_window_browser_window(struct gui_window *); struct nsws_pointers *nsws_get_pointers(void); HICON nsws_window_get_ico(bool); +/** + * Cause a browser window to navigate to a url + * + * \param hwnd The win32 handle to the browser window or one of its decendants. + * \param url The URL to navigate to. + */ +bool nsws_window_go(HWND hwnd, const char *url); + + #endif |