summaryrefslogtreecommitdiff
path: root/frontends/gtk/window.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-27 23:46:40 +0100
committerVincent Sanders <vince@kyllikki.org>2019-08-27 23:46:40 +0100
commit0ddbb21fdf210aae33143f4f3949bf35b6651376 (patch)
treed718b5c05331bd6b205f36c3862af2311dccbaa3 /frontends/gtk/window.h
parent39bb4b403e4a45c1cd2e05218599c04a31af1566 (diff)
downloadnetsurf-0ddbb21fdf210aae33143f4f3949bf35b6651376.tar.gz
netsurf-0ddbb21fdf210aae33143f4f3949bf35b6651376.tar.bz2
allow menu activation to use the toolbar button implementations
Diffstat (limited to 'frontends/gtk/window.h')
-rw-r--r--frontends/gtk/window.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontends/gtk/window.h b/frontends/gtk/window.h
index 462ed17a8..a991f0337 100644
--- a/frontends/gtk/window.h
+++ b/frontends/gtk/window.h
@@ -92,4 +92,13 @@ GtkWidget *nsgtk_window_get_tab(struct gui_window *gw);
*/
void nsgtk_window_set_tab(struct gui_window *gw, GtkWidget *w);
+/**
+ * activate the handler for a item in a toolbar of a gui window
+ *
+ * \param gw The gui window handle
+ * \param itemid The id of the item to activate
+ */
+nserror nsgtk_window_item_activate(struct gui_window *gw, nsgtk_toolbar_button itemid);
+
+
#endif /* NETSURF_GTK_WINDOW_H */