class GUI::Button

Defined in:

wrappers.cr

Constructors

Instance Method Summary

Instance methods inherited from class GUI::Widget

place(layout : Layout, x : Int32, y : Int32) place, to_unsafe to_unsafe

Macros inherited from class GUI::Widget

define_place define_place, event(name) event, lib_property(name)
lib_property(name, type)
lib_property
, lib_setter(name, typ)
lib_setter(name)
lib_setter

Constructor Detail

def self.new(style : Style, **args) #

[View source]

Instance Method Detail

def font=(value) #

[View source]
def image=(value) #

[View source]
def on_click(&callback : -> ) #

[View source]
def place(layout : Layout, x : Int32, y : Int32) #

[View source]
def state #

[View source]
def state=(value : State) #

[View source]
def tag #

[View source]
def tag=(value : Int32) #

[View source]
def text=(value : String) #

[View source]
def text_alt=(value : String) #

[View source]