summaryrefslogtreecommitdiff
path: root/gtk/gtkstack.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-04-21 14:22:35 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-04-21 21:51:25 -0400
commite72a78c4e6052668a3afde4a4b7e48a4bdb7b099 (patch)
tree9f8fe59a257fea5e837695a65f436ca4b6e3a436 /gtk/gtkstack.h
parent8ca73e3258dec347554bcbce824793a852324731 (diff)
downloadgtk+-e72a78c4e6052668a3afde4a4b7e48a4bdb7b099.tar.gz
Add a way to specify transition types on the fly
Add a gtk_stack_set_visible_child_full that takes a transition type.
Diffstat (limited to 'gtk/gtkstack.h')
-rw-r--r--gtk/gtkstack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkstack.h b/gtk/gtkstack.h
index 4634b3a225..a9bb373446 100644
--- a/gtk/gtkstack.h
+++ b/gtk/gtkstack.h
@@ -70,6 +70,9 @@ GtkWidget * gtk_stack_get_visible_child (GtkStack
void gtk_stack_set_visible_child_name (GtkStack *stack,
const gchar *name);
const gchar * gtk_stack_get_visible_child_name (GtkStack *stack);
+void gtk_stack_set_visible_child_full (GtkStack *stack,
+ const gchar *name,
+ GtkStackTransitionType transition_type);
void gtk_stack_set_homogeneous (GtkStack *stack,
gboolean homogeneous);
gboolean gtk_stack_get_homogeneous (GtkStack *stack);