ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 31日 (水) 04:15:00 JST
------------------------- REMOTE_ADDR = 74.14.158.59 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-mnui ------------------------- @@ -245,7 +245,7 @@ menu.append(mitem2 = Gtk::MenuItem.new("Test2")) # 'Test2' is the name for the 1st level sub-menu mitem1.signal_connect('activate') { |w| puts "Wigget=#{w.class} - Test1" } - Here we define the top menu items. Naturally, Note, that the second item saved in variable 'mitem2' is the sub-menu, hence no signal handling is required for this menu item. + Here we define the top menu items. Note, that the second item saved in variable 'mitem2' is the sub-menu, hence no signal handling is required for this menu item.