summaryrefslogtreecommitdiff
path: root/gtk/gtkstack.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-08-31 12:00:47 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-09-25 23:54:12 -0400
commit98b78ed5da0c63df49a31f199b8147f45f40952b (patch)
treee297c87e126f741c511e0bc7c84b5dbd5c8e0f7d /gtk/gtkstack.h
parent17aae0477ffb21f85546ac76dcbfa0c6ffcac90f (diff)
downloadgtk+-98b78ed5da0c63df49a31f199b8147f45f40952b.tar.gz
GtkStack: Add more transition types
This adds new 'over' and 'under' transitions which work by moving the new page over the previous one, or moving the previous page off to reveal the new one. We also add an over/under combination that is going to be used in GtkAboutDialog. https://bugzilla.gnome.org/show_bug.cgi?id=707187
Diffstat (limited to 'gtk/gtkstack.h')
-rw-r--r--gtk/gtkstack.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk/gtkstack.h b/gtk/gtkstack.h
index 77d7337105..2c967aa67b 100644
--- a/gtk/gtkstack.h
+++ b/gtk/gtkstack.h
@@ -45,7 +45,16 @@ typedef enum {
GTK_STACK_TRANSITION_TYPE_SLIDE_UP,
GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN,
GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT,
- GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN
+ GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN,
+ GTK_STACK_TRANSITION_TYPE_OVER_UP,
+ GTK_STACK_TRANSITION_TYPE_OVER_DOWN,
+ GTK_STACK_TRANSITION_TYPE_OVER_LEFT,
+ GTK_STACK_TRANSITION_TYPE_OVER_RIGHT,
+ GTK_STACK_TRANSITION_TYPE_UNDER_UP,
+ GTK_STACK_TRANSITION_TYPE_UNDER_DOWN,
+ GTK_STACK_TRANSITION_TYPE_UNDER_LEFT,
+ GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT,
+ GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN
} GtkStackTransitionType;
struct _GtkStack {