From 85b65921ed38b3ce0bd795e9455afbd53610b309 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 1 Sep 2019 15:43:19 +0100 Subject: cleanup scaffolding a bit --- frontends/gtk/tabs.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'frontends/gtk/tabs.h') 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. -- cgit v1.2.3