summaryrefslogtreecommitdiff
path: root/frontends/gtk/tabs.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-09-01 15:43:19 +0100
committerVincent Sanders <vince@kyllikki.org>2019-09-01 15:43:19 +0100
commitc93443e53c9dc24bd66e74fad891b1699e021163 (patch)
tree62892fdfddfd0ebdc2666113ebbf89b5617d05a8 /frontends/gtk/tabs.h
parent67892ba18f738224e8c5a6e4336b4fe9011c40dd (diff)
downloadnetsurf-c93443e53c9dc24bd66e74fad891b1699e021163.tar.gz
netsurf-c93443e53c9dc24bd66e74fad891b1699e021163.tar.bz2
cleanup scaffolding a bit
Diffstat (limited to 'frontends/gtk/tabs.h')
-rw-r--r--frontends/gtk/tabs.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/frontends/gtk/tabs.h b/frontends/gtk/tabs.h
index 4e9e2c84d..acec396ed 100644
--- a/frontends/gtk/tabs.h
+++ b/frontends/gtk/tabs.h
@@ -21,7 +21,17 @@
struct gui_window;
-void nsgtk_tab_init(struct nsgtk_scaffolding *gs);
+/**
+ * create notebook
+ *
+ * creates a notebook for use inside a window, creates the special add
+ * page(tab) and attaches all signals.
+ *
+ * \param builder the gtk builder object to create notbook from
+ * \param notebook_out reciveds the created notebook
+ * \return NSERROR_OK and notebook_out updated else error code
+ */
+nserror nsgtk_notebook_create(GtkBuilder *builder, GtkNotebook **notebook_out);
/**
* Add new tab to notebook.