diff options
Diffstat (limited to 'gtk/scaffolding.h')
-rw-r--r-- | gtk/scaffolding.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/scaffolding.h b/gtk/scaffolding.h index 44f816037..ce8aee978 100644 --- a/gtk/scaffolding.h +++ b/gtk/scaffolding.h @@ -115,8 +115,18 @@ struct nsgtk_button_connect { extern nsgtk_scaffolding *scaf_list; +/** + * create a new scaffolding for a window. + */ nsgtk_scaffolding *nsgtk_new_scaffolding(struct gui_window *toplevel); +/** + * Obtain the most recently used scaffolding element. + * + * This allows tabs to be opened in the most recently used window + */ +nsgtk_scaffolding *nsgtk_current_scaffolding(void); + bool nsgtk_scaffolding_is_busy(nsgtk_scaffolding *g); GtkWindow *nsgtk_scaffolding_window(nsgtk_scaffolding *g); |