enum Gtk::SensitivityType

Overview

Determines how GTK handles the sensitivity of various controls, such as combo box buttons.

Defined in:

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

Enum Members

Auto = 0_u32

The control is made insensitive if no action can be triggered

On = 1_u32

The control is always sensitive

Off = 2_u32

The control is always insensitive

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

[View source]
def off? #

[View source]
def on? #

[View source]