ruby-****@sourc*****
ruby-****@sourc*****
2008年 10月 11日 (土) 22:32:53 JST
------------------------- REMOTE_ADDR = 222.225.51.171 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?libglade2-tut-create-src ------------------------- @@ -28,41 +28,10 @@ bindtextdomain(domain, localedir, nil, "UTF-8") end - def on_save1_activate(widget) - puts "on_save1_activate() is not implemented yet." + def on_main_window_destroy(widget) + Gtk.main_quit end - def on_quit1_activate(widget) - puts "on_quit1_activate() is not implemented yet." - end - def on_cut1_activate(widget) - puts "on_cut1_activate() is not implemented yet." - end - def on_about1_activate(widget) - puts "on_about1_activate() is not implemented yet." - end - def on_open1_activate(widget) - puts "on_open1_activate() is not implemented yet." - end - def on_paste1_activate(widget) - puts "on_paste1_activate() is not implemented yet." - end - def on_closebutton1_clicked(widget) - puts "on_closebutton1_clicked() is not implemented yet." - end - def on_new1_activate(widget) - puts "on_new1_activate() is not implemented yet." - end - def on_save_as1_activate(widget) - puts "on_save_as1_activate() is not implemented yet." - end - def on_main_window_delete_event(widget, arg0) - puts "on_main_window_delete_event() is not implemented yet." - end - def on_copy1_activate(widget) - puts "on_copy1_activate() is not implemented yet." - end end - # Main program if __FILE__ == $0