ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 31日 (水) 02:23:52 JST
------------------------- REMOTE_ADDR = 74.14.158.59 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-mnui ------------------------- @@ -231,7 +231,8 @@ top_mitem_x.submenu = mk_submenu(hash_of_top_cntxt_menu_n_calbacks, true) -This seems like a reasonable plan however, for a deeply nested menu hierarchies and many menu items, this will require some planning, and more importantly, we will need to come up with a sensible naming convention for both menu items, and their respective callback procedures. Since this process in our GUI development will most likely be repeated over and over again, it may be a very good idea to, when developing our coding strategy, to perhaps start aiming to develop a 'Ruby Gtk Menu Building Design Pattern'. +This seems like a reasonable plan, however, for a deeply nested menu hierarchies and many menu items, it will also require some planning, and more importantly, we will need to come up with a sensible naming convention for both menu items, and their respective callback procedures. Since this process in our GUI development will most likely be repeated over and over again, it may be a very good idea to, when developing our coding strategy, to perhaps start aiming to develop a 'Ruby Gtk Menu Building Design Pattern'. But let's not get ahead of ourselves here, and see how we can best implement what we've come up with so far. +