class

Godot::Button

Inherits Godot::BaseButton < Godot::Control < Godot::CanvasItem < Godot::Node < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

alignment

Property alignment getter

Source
alignment=(val : Int)

Property alignment setter

Source
autowrap_mode

Property autowrap_mode getter

Source
autowrap_mode=(val : Int)

Property autowrap_mode setter

Source
autowrap_trim_flags

Property autowrap_trim_flags getter

Source
autowrap_trim_flags=(val : Int)

Property autowrap_trim_flags setter

Source
clip_text

Property clip_text getter

Source
clip_text=(val)

Property clip_text setter

Source
clip_text?
Source
expand_icon

Property expand_icon getter

Source
expand_icon=(val)

Property expand_icon setter

Source
expand_icon?
Source
flat

Property flat getter

Source
flat=(val)

Property flat setter

Source
flat?
Source
get_autowrap_mode
Source
get_autowrap_trim_flags
Source
get_button_icon
Source
get_clip_text
Source
get_icon_alignment
Source
get_language
Source
get_text
Source
get_text_alignment
Source
get_text_direction
Source
get_text_overrun_behavior
Source
get_vertical_icon_alignment
Source
icon

Property icon getter

Source
icon=(val)

Property icon setter

Source
icon_alignment

Property icon_alignment getter

Source
icon_alignment=(val : Int)

Property icon_alignment setter

Source
is_expand_icon
Source
is_flat
Source
language

Property language getter

Source
language=(val)

Property language setter

Source
set_autowrap_mode(autowrap_mode : Int64) : Void
Source
set_autowrap_trim_flags(autowrap_trim_flags : Int64) : Void
Source
set_button_icon(texture : Texture2D) : Void
Source
set_clip_text(enabled : Bool) : Void
Source
set_expand_icon(enabled : Bool) : Void
Source
set_flat(enabled : Bool) : Void
Source
set_icon_alignment(icon_alignment : Int64) : Void
Source
set_language(language : String) : Void
Source
set_text(text : String) : Void
Source
set_text_alignment(alignment : Int64) : Void
Source
set_text_direction(direction : Int64) : Void
Source
set_text_overrun_behavior(overrun_behavior : Int64) : Void
Source
set_vertical_icon_alignment(vertical_icon_alignment : Int64) : Void
Source
text

Property text getter

Source
text=(val)

Property text setter

Source
text_direction

Property text_direction getter

Source
text_direction=(val : Int)

Property text_direction setter

Source
text_overrun_behavior

Property text_overrun_behavior getter

Source
text_overrun_behavior=(val : Int)

Property text_overrun_behavior setter

Source
vertical_icon_alignment

Property vertical_icon_alignment getter

Source
vertical_icon_alignment=(val : Int)

Property vertical_icon_alignment setter

Source