summaryrefslogtreecommitdiff
path: root/frontends/gtk/window.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-27 23:46:40 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-21 10:53:41 +0100
commit8eebe695f053abb390ddc9894415f595ad7f4177 (patch)
tree89d32a9e03f9d3bc02340c6111e080fb725d8542 /frontends/gtk/window.h
parentb24b28e40eb84e1ed361224b172928582b471e10 (diff)
downloadnetsurf-8eebe695f053abb390ddc9894415f595ad7f4177.tar.gz
netsurf-8eebe695f053abb390ddc9894415f595ad7f4177.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 */