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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 11月 8日 (木) 10:43:20 JST


-------------------------
REMOTE_ADDR = 184.145.95.170
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs-tb
-------------------------
@@ -52,17 +52,16 @@
    edit.select_region(0, -1)
  end
  
- window = Gtk::Window.new(Gtk::Window::TOPLEVEL)
+ window = Gtk::Window.new("Toolbars")
  window.resizable = true
- window.title = "Toolbars"
  window.border_width = 10
- window.signal_connect('delete_event') { Gtk.main_quit }
+ window.signal_connect('destroy') { Gtk.main_quit }
  window.set_size_request(275, -1)
  
  entry   = Gtk::Entry.new
  toolbar = Gtk::Toolbar.new
  create_toolbar(toolbar, entry)
-   
+ 
  vbox = Gtk::VBox.new(false, 5)
  vbox.pack_start_defaults(toolbar)
  vbox.pack_start_defaults(entry)




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