Method: Gui.menu
- Defined in:
- lib/gui.rb
.menu ⇒ Object
menu to display and the root window menubar
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/gui.rb', line 84 def self. TkOption.add '*tearOff', 0 = TkMenu.new(root) .add('command', 'label' => "Help", 'command' => proc{help_win}, 'underline' => 3) = TkMenu.new .add('cascade', 'menu' => , 'label' => "Help") root.() end |