ruby-****@sourc*****
ruby-****@sourc*****
2012年 11月 4日 (日) 05:24:34 JST
------------------------- REMOTE_ADDR = 184.145.83.139 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-popup ------------------------- @@ -187,8 +187,12 @@ === For Separators in menus use MenuItem with no label -Separators are extremely important when designing a menu structure, because they organize menu items into groups so that the user can easily find the appropriate item. Currently a MenuItem with no label serves as a separator. +Separators are extremely important when designing a menu structure, because they organize menu items into groups so that the user can easily find the appropriate item. Preferably you should use the Gtk::SeparatorMenuItem class to create the separator objects, though Gtk::MenuItems with no label work as well. I experimented with both since currently there is seems to be a bug in this area. (see: the warning below). + +:Warning: + {{image_right("dialog-warning.png")}} + When a menu is detached signal handler is not working. === Pop-up Menu Callbacks