enum Gtk::StackTransitionType

Overview

Possible transitions between pages in a Gtk::Stack widget.

New values may be added to this enumeration over time.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

None = 0_u32

No transition

Crossfade = 1_u32

A cross-fade

SlideRight = 2_u32

Slide from left to right

SlideLeft = 3_u32

Slide from right to left

SlideUp = 4_u32

Slide from bottom up

SlideDown = 5_u32

Slide from top down

SlideLeftRight = 6_u32

Slide from left or right according to the children order

SlideUpDown = 7_u32

Slide from top down or bottom up according to the order

OverUp = 8_u32

Cover the old page by sliding up

OverDown = 9_u32

Cover the old page by sliding down

OverLeft = 10_u32

Cover the old page by sliding to the left

OverRight = 11_u32

Cover the old page by sliding to the right

UnderUp = 12_u32

Uncover the new page by sliding up

UnderDown = 13_u32

Uncover the new page by sliding down

UnderLeft = 14_u32

Uncover the new page by sliding to the left

UnderRight = 15_u32

Uncover the new page by sliding to the right

OverUpDown = 16_u32

Cover the old page sliding up or uncover the new page sliding down, according to order

OverDownUp = 17_u32

Cover the old page sliding down or uncover the new page sliding up, according to order

OverLeftRight = 18_u32

Cover the old page sliding left or uncover the new page sliding right, according to order

OverRightLeft = 19_u32

Cover the old page sliding right or uncover the new page sliding left, according to order

RotateLeft = 20_u32

Pretend the pages are sides of a cube and rotate that cube to the left

RotateRight = 21_u32

Pretend the pages are sides of a cube and rotate that cube to the right

RotateLeftRight = 22_u32

Pretend the pages are sides of a cube and rotate that cube to the left or right according to the children order

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def crossfade? #

def none? #

def over_down? #

def over_down_up? #

def over_left? #

def over_left_right? #

def over_right? #

def over_right_left? #

def over_up? #

def over_up_down? #

def rotate_left? #

def rotate_left_right? #

def rotate_right? #

def slide_down? #

def slide_left? #

def slide_left_right? #

def slide_right? #

def slide_up? #

def slide_up_down? #

def under_down? #

def under_left? #

def under_right? #

def under_up? #