Class: CWM::MenuButton
- Inherits:
-
AbstractWidget
- Object
- AbstractWidget
- CWM::MenuButton
- Includes:
- ItemsSelection
- Defined in:
- library/cwm/src/lib/cwm/common_widgets.rb
Overview
Widget representing menu button with its submenu
Instance Attribute Summary
Attributes inherited from AbstractWidget
#handle_all_events, #widget_id
Instance Method Summary collapse
Methods included from ItemsSelection
Methods inherited from AbstractWidget
#cleanup, #disable, #displayed?, #enable, #enabled?, #focus, #fun_ref, #handle, #help, #init, #label, #my_event?, #opt, #refresh_help, #store, #validate, widget_type=
Instance Method Details
#cwm_definition ⇒ WidgetHash
388 389 390 391 392 |
# File 'library/cwm/src/lib/cwm/common_widgets.rb', line 388 def cwm_definition res = super res["handle_events"] = items.map(&:first) unless handle_all_events res end |