diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-09-04 19:23:06 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-09-04 19:23:06 +0100 |
commit | e15ab0a277e3cb17e6662720652ec34c55437c2b (patch) | |
tree | 21c49c2ef83bfd61d9e7031259b1c32de7233791 /frontends/gtk/toolbar.h | |
parent | acf6572fe0c62397fecf2665d2beec00a5d95a8e (diff) | |
download | netsurf-e15ab0a277e3cb17e6662720652ec34c55437c2b.tar.gz netsurf-e15ab0a277e3cb17e6662720652ec34c55437c2b.tar.bz2 |
make toolbar and menubar hiding work appropriately
Diffstat (limited to 'frontends/gtk/toolbar.h')
-rw-r--r-- | frontends/gtk/toolbar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/frontends/gtk/toolbar.h b/frontends/gtk/toolbar.h index dc229e788..75fb3abfa 100644 --- a/frontends/gtk/toolbar.h +++ b/frontends/gtk/toolbar.h @@ -95,6 +95,14 @@ nserror nsgtk_toolbar_set_websearch_image(struct nsgtk_toolbar *tb, GdkPixbuf *p */ nserror nsgtk_toolbar_item_activate(struct nsgtk_toolbar *tb, nsgtk_toolbar_button itemid); +/** + * set the toolbar to be shown or hidden + * + * \param toolbar A toolbar returned from a creation + * \param show true to show the toolbar and false to hide it. + * \return NSERROR_OK on success + */ +nserror nsgtk_toolbar_show(struct nsgtk_toolbar *tb, bool show); /** * sets up the images for scaffolding. |