enum Gtk::EditableProperties

Overview

The identifiers for Gtk::Editable properties.

See Gtk::Editable#install_properties for details on how to implement the Gtk::Editable interface.

Defined in:

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

Enum Members

PropText = 0_u32

the property id for Gtk::Editable#text

PropCursorPosition = 1_u32

the property id for [property@Gtk.Editable:cursor-position]

PropSelectionBound = 2_u32

the property id for [property@Gtk.Editable:selection-bound]

PropEditable = 3_u32

the property id for Gtk::Editable#editable

PropWidthChars = 4_u32

the property id for [property@Gtk.Editable:width-chars]

PropMaxWidthChars = 5_u32

the property id for [property@Gtk.Editable:max-width-chars]

PropXalign = 6_u32

the property id for Gtk::Editable#xalign

PropEnableUndo = 7_u32

the property id for [property@Gtk.Editable:enable-undo]

NumProperties = 8_u32

the number of properties

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

[View source]
def prop_cursor_position? #

[View source]
def prop_editable? #

[View source]
def prop_enable_undo? #

[View source]
def prop_max_width_chars? #

[View source]
def prop_selection_bound? #

[View source]
def prop_text? #

[View source]
def prop_width_chars? #

[View source]
def prop_xalign? #

[View source]