Class: Shoes::Flow
- Includes:
- Background
- Defined in:
- lacci/lib/shoes/drawables/flow.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Drawable
Constants included from Log
Log::DEFAULT_COMPONENT, Log::DEFAULT_DEBUG_LOG_CONFIG, Log::DEFAULT_LOG_CONFIG
Instance Attribute Summary
Attributes inherited from Slot
Attributes inherited from Drawable
#debug_id, #destroyed, #parent
Attributes inherited from Linkable
Instance Method Summary collapse
-
#initialize(*args, **kwargs, &block) ⇒ Flow
constructor
A new instance of Flow.
Methods included from Background
Methods inherited from Slot
#add_child, #append, #clear, #contents, #current_draw_context, #fill, #method_missing, #nofill, #nostroke, #remove_child, #respond_to_missing?, #rotate, #stroke, #strokewidth
Methods inherited from Drawable
allocate_drawable_id, #app, #banner, #caption, convert_to_float, convert_to_integer, #destroy, #download, drawable_by_id, drawable_class_by_name, dsl_name, #event, expects_parent?, feature_for_shoes_style, get_shoes_events, #hide, #hover, init_args, #inscription, #inspect, is_widget_class?, #leave, #method_missing, #motion, opt_init_args, optional_init_args, register_drawable_id, registered_shoes_events?, required_init_args, #respond_to_missing?, #set_parent, shoes_events, shoes_style, shoes_style_hashes, shoes_style_name?, shoes_style_names, #shoes_style_values, shoes_styles, #show, #style, #subtitle, #tagline, #title, #toggle, unregister_drawable_id, validate_as
Methods included from MarginHelper
Methods included from Colors
Methods included from Log
configure_logger, #log_init, logger
Methods inherited from Linkable
#bind_shoes_event, #send_self_event, #send_shoes_event, #unsub_all_shoes_events, #unsub_shoes_event
Constructor Details
#initialize(*args, **kwargs, &block) ⇒ Flow
Returns a new instance of Flow.
11 12 13 14 15 16 17 18 |
# File 'lacci/lib/shoes/drawables/flow.rb', line 11 def initialize(*args, **kwargs, &block) super # Create the display-side drawable *before* instance_eval, which will add child drawables with their display drawables create_display_drawable Shoes::App.instance.with_slot(self, &block) if block_given? end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Shoes::Slot