class

GSDL::UI::Container

Inherits GSDL::UI::Element < Reference < Object

Constructors

new(*args, **kwargs)
Source
new(*args, **kwargs, &)
Source

Instance methods

add_child(child : Element)
Source
children
Source
children=(children : Array(GSDL::UI::Element))
Source
clear_children

Useful helper to clear a container (like a toolbar)

Source
clips_children=(clips_children : Bool)
Source
clips_children?
Source
draw(draw : Draw)
Source
height
Source
layout!
Source
layout_add_child(child : Element)
Source
on_mouse_down(event : GSDL::Event) : Bool
Source
on_mouse_move(event : GSDL::Event) : Bool
Source
on_mouse_up(event : GSDL::Event) : Bool
Source
on_mouse_wheel(event : GSDL::Event) : Bool
Source
remove_child(child : Element)
Source
update(dt : Float32)
Source
width
Source