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.


[View source]

Instance Method Detail

def crossfade? #

[View source]
def none? #

[View source]
def over_down? #

[View source]
def over_down_up? #

[View source]
def over_left? #

[View source]
def over_left_right? #

[View source]
def over_right? #

[View source]
def over_right_left? #

[View source]
def over_up? #

[View source]
def over_up_down? #

[View source]
def rotate_left? #

[View source]
def rotate_left_right? #

[View source]
def rotate_right? #

[View source]
def slide_down? #

[View source]
def slide_left? #

[View source]
def slide_left_right? #

[View source]
def slide_right? #

[View source]
def slide_up? #

[View source]
def slide_up_down? #

[View source]
def under_down? #

[View source]
def under_left? #

[View source]
def under_right? #

[View source]
def under_up? #

[View source]