diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-09-07 13:42:33 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-09-21 10:53:41 +0100 |
commit | 608cc3cbbfae27498268442aa31ef791894e0789 (patch) | |
tree | 638a9e1a6f28364e872beae9a22be03622dc43af /frontends/gtk/scaffolding.h | |
parent | 747f135de5785e2a43ff4b27e07559d3aacd3377 (diff) | |
download | netsurf-608cc3cbbfae27498268442aa31ef791894e0789.tar.gz netsurf-608cc3cbbfae27498268442aa31ef791894e0789.tar.bz2 |
make handling of non browser window containing tabs reasonable
Diffstat (limited to 'frontends/gtk/scaffolding.h')
-rw-r--r-- | frontends/gtk/scaffolding.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/frontends/gtk/scaffolding.h b/frontends/gtk/scaffolding.h index 42ae6b6be..28fa6ec25 100644 --- a/frontends/gtk/scaffolding.h +++ b/frontends/gtk/scaffolding.h @@ -153,5 +153,12 @@ void nsgtk_scaffolding_context_menu(struct nsgtk_scaffolding *g, gdouble x, gdou */ void nsgtk_scaffolding_set_title(struct gui_window *gw, const char *title); +/** + * find which scaffolding contains a gtk notebook + * + * \param notebook The notebook to search for. + * \return The scaffolding containing the notebook or NULL if not found + */ +struct nsgtk_scaffolding *nsgtk_scaffolding_from_notebook(GtkNotebook *notebook); #endif /* NETSURF_GTK_SCAFFOLDING_H */ |