Class: TkWrapper::Widgets::Menu::Command
- Inherits:
-
Base::Widget
- Object
- Base::Widget
- TkWrapper::Widgets::Menu::Command
- Defined in:
- lib/widgets/menu.rb
Instance Attribute Summary
Attributes inherited from Base::Widget
#cell, #childs, #config, #ids, #parent
Instance Method Summary collapse
Methods inherited from Base::Widget
#add_ids, config, #configure, #create_tk_widget, #each, #initialize, manager, #manager, modify, #modify, #modify_each, #push, #tk_class, #tk_widget
Constructor Details
This class inherits a constructor from TkWrapper::Widgets::Base::Widget
Instance Method Details
#build(parent) ⇒ Object
26 27 28 |
# File 'lib/widgets/menu.rb', line 26 def build(parent) parent..add :command, **@config.config end |