diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-09-01 15:43:19 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-09-21 10:53:41 +0100 |
commit | 85b65921ed38b3ce0bd795e9455afbd53610b309 (patch) | |
tree | b78306af01cdaf6b2f749413575ae12225dadeb6 /frontends/gtk/tabs.h | |
parent | 2e8861dc05325c88cfb8130e7eddd0967e4d4b09 (diff) | |
download | netsurf-85b65921ed38b3ce0bd795e9455afbd53610b309.tar.gz netsurf-85b65921ed38b3ce0bd795e9455afbd53610b309.tar.bz2 |
cleanup scaffolding a bit
Diffstat (limited to 'frontends/gtk/tabs.h')
-rw-r--r-- | frontends/gtk/tabs.h | 12 |
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. |