Class: Shoes::TextWidget

Inherits:
Widget show all
Defined in:
lacci/lib/shoes/widgets/text_widget.rb

Direct Known Subclasses

Link

Constant Summary

Constants included from Log

Log::DEFAULT_COMPONENT, Log::DEFAULT_DEBUG_LOG_CONFIG, Log::DEFAULT_LOG_CONFIG

Instance Attribute Summary

Attributes inherited from Widget

#parent

Attributes inherited from Linkable

#linkable_id

Class Method Summary collapse

Methods inherited from Widget

#banner, #caption, #destroy, display_properties, display_property, display_property_name?, display_property_names, #display_property_values, #download, dsl_name, #hide, #initialize, #inscription, #inspect, #method_missing, #respond_to_missing?, #set_parent, #show, #subtitle, #tagline, #title, #toggle, widget_class_by_name

Methods included from Colors

#gray, #rgb, #to_rgb

Methods included from Log

configure_logger, #log_init, logger

Methods inherited from Linkable

#bind_shoes_event, #initialize, #send_self_event, #send_shoes_event, #unsub_shoes_event

Constructor Details

This class inherits a constructor from Shoes::Widget

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Shoes::Widget

Class Method Details

.inherited(subclass) ⇒ Object

rubocop:disable Lint/MissingSuper



9
10
11
12
# File 'lacci/lib/shoes/widgets/text_widget.rb', line 9

def inherited(subclass)
  Shoes::Widget.widget_classes ||= []
  Shoes::Widget.widget_classes << subclass
end