GtkStack: Add position-dependent slide transitions

These go left/right or up/down depending on the relative
order of the children being switched between.
This commit is contained in:
Erick Pérez Castellanos
2013-06-13 20:33:42 +02:00
committed by Alexander Larsson
parent 53a9311e2c
commit 33a1c4d6e0
3 changed files with 38 additions and 1 deletions

View File

@ -44,7 +44,9 @@ typedef enum {
GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT,
GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT,
GTK_STACK_TRANSITION_TYPE_SLIDE_UP,
GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN
GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN,
GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT,
GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN
} GtkStackTransitionType;
struct _GtkStack {