Class: CWM::Empty
- Inherits:
-
AbstractWidget
- Object
- AbstractWidget
- CWM::Empty
- Defined in:
- library/cwm/src/lib/cwm/common_widgets.rb
Overview
An empty widget useful mainly as placeholder for replacement or for catching global events
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from AbstractWidget
#handle_all_events, #widget_id
Instance Method Summary collapse
-
#initialize(id) ⇒ Empty
constructor
A new instance of Empty.
Methods inherited from AbstractWidget
#cleanup, #cwm_definition, #disable, #displayed?, #enable, #enabled?, #focus, #fun_ref, #handle, #help, #init, #label, #my_event?, #opt, #refresh_help, #store, #validate, widget_type=
Constructor Details
#initialize(id) ⇒ Empty
Returns a new instance of Empty.
20 21 22 23 24 |
# File 'library/cwm/src/lib/cwm/common_widgets.rb', line 20 def initialize(id) super() self. = id end |