abstract class Boleite::GUI::Widget

Included Modules

Direct Known Subclasses

Defined in:

boleite/gui/button.cr
boleite/gui/container.cr
boleite/gui/helpers.cr
boleite/gui/input_field.cr
boleite/gui/widget.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def absolute_allocation #

[View source]
def absolute_position #

[View source]
def allocation #

def clear_repaint #

[View source]
def contract_ensures_parentassign(return_value, parent) #

[View source]
def contract_post_parentassign(check_depth, return_value, parent) #

[View source]
def contract_pre_parentassign(check_depth, parent) #

[View source]
def contract_requires_parentassign(parent) #

[View source]
def enabled=(enabled) #

def enabled? #

[View source]
def has_mouse_focus? #

[View source]
def input #

def left_click : Signal_left_click #

def mark_dirty #

[View source]
def mouse_enter : Signal_mouse_enter #

def mouse_leave : Signal_mouse_leave #

def mouse_over : Signal_mouse_over #

def move(pos) #

[View source]
def name #

def name=(name) #

def on_mouse_enter #

[View source]
def on_mouse_leave #

[View source]
def on_state_change #

[View source]
def parent #

[View source]
def parent=(val : Nil) #

[View source]
def parent=(parent) #

[View source]
def position #

[View source]
def position=(pos) #

[View source]
def pulse : Signal_pulse #

def repaint? #

def right_click : Signal_right_click #

def size #

[View source]
def size=(size) #

[View source]
def state_change : Signal_state_change #

def test_invariant_contracts(method = "") #

[View source]
def visible=(visible) #

def visible? #

[View source]

Macro Detail

macro assert(test) #

[View source]
macro ensures(test) #

[View source]
macro invariant(test) #

[View source]
macro requires(test) #

[View source]
macro setter_state(*args) #

[View source]