[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-mnstbs-mnui

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 11月 4日 (日) 01:43:59 JST


-------------------------
REMOTE_ADDR = 184.145.83.139
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-mnui
-------------------------
@@ -110,7 +110,7 @@
 Menu items in every menu can be either (1) final "leaf" items, which trigger by the developer provided action when user selects such a leaf menu item, or (2) sub-menus for which Gtk default action is to open the menu assigned to the selected (non-leaf) sub-menu item in a cascading fashion, and usually no callback is specified by the developer for these sub-menu items (with the arrow on the side).
 
 
-In our program example the 'mk_submenu' method can receive more than two arguments. The last argument must be a Boolean value, indicating whether the returned sub-menu should contain a tear-off menu item. All the arguments before the 'tearoff' Boolean argument are either leaf menu items, i.e. strings, or other sub-menus, which you should have previously created.
+In our program example the 'mk_submenu' method can receive more than two arguments. The last argument must be a Boolean value, indicating whether the returned sub-menu should contain a tear-off menu item. All the arguments before the 'tearoff' Boolean argument are either leaf menu items, i.e. strings explicitly defining menu item names, or other sub-menus, which you should have previously created (note that the name of a sub-menu item is now not available, since its place is taken by the menu object).
 
 
  sub_submenu1 = mk_submenu("sub-sub1:item-1", "sub-sub1:item-2", true)




ruby-gnome2-cvs メーリングリストの案内
Back to archive index