summaryrefslogtreecommitdiff
path: root/frontends/gtk/scaffolding.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-09-07 13:42:33 +0100
committerVincent Sanders <vince@kyllikki.org>2019-09-07 13:42:33 +0100
commitbab38d0e4b50d479be361dc80409ea0b1093f9fb (patch)
treea7bcd3667d1c19010edbf03c613d4208beb87dde /frontends/gtk/scaffolding.h
parent56af5ef5ee3a76d75dbf17fb6e8da74df7241905 (diff)
downloadnetsurf-bab38d0e4b50d479be361dc80409ea0b1093f9fb.tar.gz
netsurf-bab38d0e4b50d479be361dc80409ea0b1093f9fb.tar.bz2
make handling of non browser window containing tabs reasonable
Diffstat (limited to 'frontends/gtk/scaffolding.h')
-rw-r--r--frontends/gtk/scaffolding.h7
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 */