ruby-****@sourc*****
ruby-****@sourc*****
2012年 11月 6日 (火) 06:08:06 JST
------------------------- REMOTE_ADDR = 184.145.95.170 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-mnub ------------------------- @@ -166,6 +166,11 @@ +{{image_left("submenu-as-context-menu.png")}} + +Next we create the accelerator group, which will be used by the menu items on our File, Edit, and Languages menus (sub-menus) when clicked, but also by the accelerator keys. We will look more closely to these issues in the following section bellow. But in the meantime pay attention to a neat trick to open only a particular sub-menu as the main window's context menu, using by the developer provided accelerator key combination (here '<ctrl>+L'). You can see the result of this action on the image here on the left. + + {{br}} {{br}}