summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-06-04 14:39:56 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-06-04 14:39:56 +0000
commit17df875136d184f15d4601fe38c82e98b830be45 (patch)
tree3f59808e2214c0b366424c621ab157e9759cfd2f /gtk/gtknotebook.h
parent9191e01b7064c43914814ec9d2a7e3e77be880f0 (diff)
downloadgtk+-17df875136d184f15d4601fe38c82e98b830be45.tar.gz
Add a create-window signal that allows to override the global
2007-06-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmarshalers.list: * gtk/gtknotebook.[hc]: Add a create-window signal that allows to override the global create-window-hook on a per-notebook basis. The default handler falls back to the global hook. (#386935, Christian Hammond) svn path=/trunk/; revision=18024
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r--gtk/gtknotebook.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h
index c5e648f1b2..24109688e7 100644
--- a/gtk/gtknotebook.h
+++ b/gtk/gtknotebook.h
@@ -116,8 +116,12 @@ struct _GtkNotebookClass
GtkWidget *menu_label,
gint position);
+ GtkNotebook (* create_window) (GtkNotebook *notebook,
+ GtkWidget *page,
+ gint x,
+ gint y);
+
void (*_gtk_reserved1) (void);
- void (*_gtk_reserved2) (void);
};
typedef GtkNotebook* (*GtkNotebookWindowCreationFunc) (GtkNotebook *source,