Class: Clogs::DocumentRoot
- Defined in:
- lib/clogs/drawables/slot.rb
Overview
The invisible slot that holds an app's whole document. Shoes' top level behaves like a flow.
Instance Attribute Summary
Attributes inherited from Drawable
#abs_x, #abs_y, #children, #height, #parent, #shoes_linkable_id, #styles, #width, #x, #y
Instance Method Summary collapse
Methods inherited from Flow
Methods inherited from Slot
#decorations, #flow?, #laid_out_children, #layout_flow, #layout_stack, #measure, #padding, #paint
Methods inherited from Drawable
#add_child, #clickable?, #contains?, #destroy_self, #draw, #each_peer, #focus_gained, #focus_lost, #focusable?, for_shoes_class, #hidden?, #initialize, #margin, #measure, #needs_layout!, #notify, #on_click, #on_key, #on_mouse_move, #on_release, #paint, #positioned?, #properties_changed, #redraw!, #remove_child, #requested_height, #requested_width, #set_parent, #style
Constructor Details
This class inherits a constructor from Clogs::Drawable
Instance Method Details
#app ⇒ Object
124 125 126 |
# File 'lib/clogs/drawables/slot.rb', line 124 def app @app end |
#app=(app) ⇒ Object
120 121 122 |
# File 'lib/clogs/drawables/slot.rb', line 120 def app=(app) @app = app end |