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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 11月 5日 (月) 08:47:11 JST


-------------------------
REMOTE_ADDR = 184.145.95.170
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-mnui
-------------------------
@@ -325,7 +325,7 @@
      ss1_item_2_lambda = lambda {|p, w| puts "item: #{p} selected; w=#{w.class}" }
 
 
-    -5-{{br}} We conclude our menu design with the final step #5. The location of this code in our program listing should be at the end of the entire menu building process. In this code segment we assign all the sub-menus found in the top level menu. Again, in our case, the top menu has only two items, the first which is the leaf or final menu item called 'Test1', stored in variable 'mitem1', and the second menu item called 'Test2', stored in variable 'mitem2' and which actually represents the first sub-menu in the top level context menu. Following is the code from step #5:
+    -5-{{br}} We conclude our menu design with the final step #5. The location of this code in our program listing should be at the end of the entire menu building process. In this code segment we assign all the sub-menus found in the top level menu. Again, in our case, the top menu has only two items, the first is the leaf or final menu item called 'Test1', stored in variable 'mitem1', and the second menu item called 'Test2', stored in variable 'mitem2' and which actually represents the first sub-menu in the top level context menu. Following is the code from step #5:
 
      # (5. menu building step)
      mitem2.submenu = mk_submenu(top_menus_1st_submenu_hash, true)




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