Class: CWM::Dialog::FakeHelp
- Inherits:
-
Empty
- Object
- AbstractWidget
- Empty
- CWM::Dialog::FakeHelp
- Defined in:
- library/cwm/src/lib/cwm/dialog.rb
Overview
Empty widget which is first on the page and contain help for whole dialog
Instance Attribute Summary
Attributes inherited from AbstractWidget
#handle_all_events, #widget_id
Instance Method Summary collapse
- #help ⇒ Object
- #init ⇒ Object
-
#initialize(text) ⇒ FakeHelp
constructor
A new instance of FakeHelp.
Methods inherited from AbstractWidget
#cleanup, #cwm_definition, #disable, #displayed?, #enable, #enabled?, #focus, #fun_ref, #handle, #label, #my_event?, #opt, #refresh_help, #store, #validate, widget_type=
Constructor Details
#initialize(text) ⇒ FakeHelp
Returns a new instance of FakeHelp.
135 136 137 138 139 |
# File 'library/cwm/src/lib/cwm/dialog.rb', line 135 def initialize(text) super("__fake_help_widget") @text = text end |
Instance Method Details
#help ⇒ Object
146 147 148 |
# File 'library/cwm/src/lib/cwm/dialog.rb', line 146 def help @text end |