summaryrefslogtreecommitdiff
path: root/gtk/scaffolding.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-07-25 16:29:18 +0100
committerVincent Sanders <vince@kyllikki.org>2014-07-27 18:07:00 +0100
commit06a1d75d52dc533474194c0c9b33eecf09b59068 (patch)
treeec124b7110b54489826b46b02decb1d1735f3014 /gtk/scaffolding.h
parent984299e5b4feda4ffb6fd80f0d1f489c32e6d512 (diff)
downloadnetsurf-06a1d75d52dc533474194c0c9b33eecf09b59068.tar.gz
netsurf-06a1d75d52dc533474194c0c9b33eecf09b59068.tar.bz2
stop gtk about dialog forcing navigation of existing browsing contexts
Diffstat (limited to 'gtk/scaffolding.h')
-rw-r--r--gtk/scaffolding.h10
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);