diff options
author | Andy Holmes <andrew.g.r.holmes@gmail.com> | 2019-11-03 18:05:03 -0800 |
---|---|---|
committer | Andy Holmes <andrew.g.r.holmes@gmail.com> | 2019-11-03 18:05:03 -0800 |
commit | 44093f4966c92d1acf9f7a7368f5e4197ec8f2cc (patch) | |
tree | 9bb53322e66c3ee906a05cb07eec943bf94678c6 /gtk/gtkstack.h | |
parent | 6d16f7ad3597149e2da75913173f3d76c77fee74 (diff) | |
download | gtk+-44093f4966c92d1acf9f7a7368f5e4197ec8f2cc.tar.gz |
stack: return the stack page when adding a child, to ease setting props
Diffstat (limited to 'gtk/gtkstack.h')
-rw-r--r-- | gtk/gtkstack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstack.h b/gtk/gtkstack.h index dad047efdc..75a8d6871e 100644 --- a/gtk/gtkstack.h +++ b/gtk/gtkstack.h @@ -79,11 +79,11 @@ GType gtk_stack_get_type (void) G_GNUC_CONST; GDK_AVAILABLE_IN_ALL GtkWidget * gtk_stack_new (void); GDK_AVAILABLE_IN_ALL -void gtk_stack_add_named (GtkStack *stack, +GtkStackPage * gtk_stack_add_named (GtkStack *stack, GtkWidget *child, const gchar *name); GDK_AVAILABLE_IN_ALL -void gtk_stack_add_titled (GtkStack *stack, +GtkStackPage * gtk_stack_add_titled (GtkStack *stack, GtkWidget *child, const gchar *name, const gchar *title); |