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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 11月 6日 (火) 09:31:14 JST


-------------------------
REMOTE_ADDR = 184.145.95.170
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-mnub
-------------------------
@@ -113,15 +113,16 @@
  langmenu.append(russian)
  langmenu.append(italian)
  
- # Create Organize submenu
+ # Create Organize sub-menu
  preferences = Gtk::MenuItem.new("Preferences")
+ preferences.signal_connect('activate') { |w| puts "w=#{w.class}:Preferences selected" }
+
  languages   = Gtk::MenuItem.new("Languages")
  orgmenu.append(preferences)
  orgmenu.append(languages)
  languages.submenu = langmenu
  
  # Create the Help menu content.
- 
  contents = Gtk::ImageMenuItem.new(Gtk::Stock::HELP, group)
  about    = Gtk::ImageMenuItem.new(Gtk::Stock::ABOUT, group)
  helpmenu.append(contents)




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