abstract class Boleite::GUI::Container

Included Modules

Direct Known Subclasses

Defined in:

boleite/gui/container.cr

Constructors

Macro Summary

Instance Method Summary

Instance methods inherited from class Boleite::GUI::Widget

absolute_allocation absolute_allocation, absolute_position absolute_position, allocation allocation, clear_repaint clear_repaint, contract_ensures_parentassign(return_value, parent) contract_ensures_parentassign, contract_post_parentassign(check_depth, return_value, parent) contract_post_parentassign, contract_pre_parentassign(check_depth, parent) contract_pre_parentassign, contract_requires_parentassign(parent) contract_requires_parentassign, enabled=(enabled) enabled=, enabled? enabled?, has_mouse_focus? has_mouse_focus?, input input, left_click : Signal_left_click left_click, mark_dirty mark_dirty, mouse_enter : Signal_mouse_enter mouse_enter, mouse_leave : Signal_mouse_leave mouse_leave, mouse_over : Signal_mouse_over mouse_over, move(pos) move, name name, name=(name) name=, on_mouse_enter on_mouse_enter, on_mouse_leave on_mouse_leave, on_state_change on_state_change, parent parent, parent=(val : Nil)
parent=(parent)
parent=
, position position, position=(pos) position=, pulse : Signal_pulse pulse, repaint? repaint?, right_click : Signal_right_click right_click, size size, size=(size) size=, state_change : Signal_state_change state_change, test_invariant_contracts(method = "") test_invariant_contracts, visible=(visible) visible=, visible? visible?

Constructor methods inherited from class Boleite::GUI::Widget

new new

Macros inherited from class Boleite::GUI::Widget

assert(test) assert, ensures(test) ensures, invariant(test) invariant, requires(test) requires, setter_state(*args) setter_state

Constructor Detail

def self.new #

[View source]

Macro Detail

macro assert(test) #

[View source]
macro ensures(test) #

[View source]
macro invariant(test) #

[View source]
macro requires(test) #

[View source]

Instance Method Detail

def [](args) #

def [](*args, **options) #

[View source]
def [](*args, **options, &) #

[View source]
def acc_allocation #

def add(child) #

[View source]
def clear #

[View source]
def contract_ensures_add(return_value, child) #

[View source]
def contract_ensures_remove(return_value, child) #

[View source]
def contract_post_add(check_depth, return_value, child) #

[View source]
def contract_post_remove(check_depth, return_value, child) #

[View source]
def contract_pre_add(check_depth, child) #

[View source]
def contract_pre_remove(check_depth, child) #

[View source]
def contract_requires_add(child) #

[View source]
def contract_requires_remove(child) #

[View source]
def each_widget(&) #

[View source]
def each_widget #

[View source]
def find(name) #

[View source]
def min_size #

def min_size=(min_size) #

[View source]
def num_widgets #

[View source]
def on_state_change #

[View source]
def pass_input_to_children(event : InputEvent) #

[View source]
def remove(child) #

[View source]
def reset_acc_allocation #

[View source]
def reset_body_allocation #

[View source]
def test_invariant_contracts(method = "") #

[View source]
def update_acc_allocation #

[View source]
def update_body_allocation #

[View source]