class GUI::Button
- GUI::Button
- GUI::Component
- Reference
- Object
Defined in:
elements.cr:5elements.cr:95
Class Method Summary
Instance Method Summary
- #font_color(value : UInt32)
- #font_color : UInt32
- #font_color=(value : UInt32)
- #font_name(value : String)
- #font_name : String
- #font_name=(value : String)
- #font_size(value : Int32)
- #font_size : Int32
- #font_size=(value : Int32)
- #font_style(value : NONOGUI::FontStyle)
- #font_style : NONOGUI::FontStyle
- #font_style=(value : NONOGUI::FontStyle)
- #text(value : String)
- #text : String
- #text=(value : String)
Instance methods inherited from class GUI::Component
al(x : NONOGUI::Align)
al,
align(value : NONOGUI::Align)align : NONOGUI::Align align, align=(value : NONOGUI::Align) align=, changed : Bool changed, changed=(changed : Bool) changed=, childmargin(value : Int32)
childmargin : Int32 childmargin, childmargin=(value : Int32) childmargin=, children : Array(GUI::Component) children, destroy destroy, enabled(value : Bool)
enabled : Bool enabled, enabled=(value : Bool) enabled=, handle : NONOGUI::MyComponent handle, handle=(handle : NONOGUI::MyComponent) handle=, height(value : Int32)
height : Int32 height, height=(value : Int32) height=, margin(value : Int32)
margin : Int32 margin, margin=(value : Int32) margin=, on_click : Proc(NONOGUI::ClickEvent, Nil) | Nil
on_click(&block : Proc(NONOGUI::ClickEvent, Nil)) on_click, on_click=(on_click : Proc(NONOGUI::ClickEvent, Nil) | Nil) on_click=, on_keyboard : Proc(NONOGUI::KeyboardEvent, Nil) | Nil
on_keyboard(&block : Proc(NONOGUI::KeyboardEvent, Nil)) on_keyboard, on_keyboard=(on_keyboard : Proc(NONOGUI::KeyboardEvent, Nil) | Nil) on_keyboard=, on_mouse_border : Proc(NONOGUI::MouseBorderEvent, Nil) | Nil
on_mouse_border(&block : Proc(NONOGUI::MouseBorderEvent, Nil)) on_mouse_border, on_mouse_border=(on_mouse_border : Proc(NONOGUI::MouseBorderEvent, Nil) | Nil) on_mouse_border=, on_mouse_button : Proc(NONOGUI::MouseButtonEvent, Nil) | Nil
on_mouse_button(&block : Proc(NONOGUI::MouseButtonEvent, Nil)) on_mouse_button, on_mouse_button=(on_mouse_button : Proc(NONOGUI::MouseButtonEvent, Nil) | Nil) on_mouse_button=, on_mouse_move : Proc(NONOGUI::MouseMoveEvent, Nil) | Nil
on_mouse_move(&block : Proc(NONOGUI::MouseMoveEvent, Nil)) on_mouse_move, on_mouse_move=(on_mouse_move : Proc(NONOGUI::MouseMoveEvent, Nil) | Nil) on_mouse_move=, parent : Component parent, parent? : Component | Nil parent?, update_properties update_properties, visible(value : Bool)
visible : Bool visible, visible=(value : Bool) visible=, width(value : Int32)
width : Int32 width, width=(value : Int32) width=, x(value : Int32)
x : Int32 x, x=(value : Int32) x=, y(value : Int32)
y : Int32 y, y=(value : Int32) y=
Constructor methods inherited from class GUI::Component
new(parent : GUI::Component | Nil, **args)
new
Class methods inherited from class GUI::Component
show(**args)show(**args, &) show