summaryrefslogtreecommitdiff
path: root/frontends/gtk/tabs.h
diff options
context:
space:
mode:
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.