enum Gtk::StateFlags

Defined in:

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

Enum Members

Normal = 0_u32
Active = 1_u32
Prelight = 2_u32
Selected = 4_u32
Insensitive = 8_u32
Inconsistent = 16_u32
Focused = 32_u32
Backdrop = 64_u32
DirLtr = 128_u32
DirRtl = 256_u32
Link = 512_u32
Visited = 1024_u32
Checked = 2048_u32
DropActive = 4096_u32
FocusVisible = 8192_u32
FocusWithin = 16384_u32
None = 0_u32
All = 32767_u32

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 active? #

[View source]
def backdrop? #

[View source]
def checked? #

[View source]
def dir_ltr? #

[View source]
def dir_rtl? #

[View source]
def drop_active? #

[View source]
def focus_visible? #

[View source]
def focus_within? #

[View source]
def focused? #

[View source]
def inconsistent? #

[View source]
def insensitive? #

[View source]
def link? #

[View source]
def none? #

[View source]
def normal? #

[View source]
def prelight? #

[View source]
def selected? #

[View source]
def visited? #

[View source]