ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 30日 (火) 07:02:34 JST
------------------------- REMOTE_ADDR = 74.14.158.59 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-mnui ------------------------- @@ -30,6 +30,9 @@ menu.show_all +:Note: + In order to clearly present and expose the relationships between different Gtk menu widgets we intentionally omitted signal the handling in the above code segment. We'll talk about this in the following 'menuitems-n-submenus.rb' program example. + Submenus are useful if you have a list of very specific items that would clutter an otherwise organized menu structure. When using a submenu, you can use the((*active-item*))signal provided by the Gtk::MenuItem widget, which will be emitted when the menu item displays its submenu.