ruby-****@sourc*****
ruby-****@sourc*****
2009年 2月 9日 (月) 11:52:38 JST
------------------------- REMOTE_ADDR = 97.115.43.19 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-filechooser ------------------------- @@ -68,8 +68,10 @@ label = Gtk::Label.new chooser_dir = Gtk::FileChooserButton.new( "Choose a Folder", Gtk::FileChooser::ACTION_SELECT_FOLDER) - choose_file = Gtk::FileChooserButton.new( + chooser_file = Gtk::FileChooserButton.new( "Choose a File", Gtk::FileChooser::ACTION_OPEN) + + # IGNORE THIS I HAD TO PUT THIS IN SO THE CODE WOULD WORK AND MY INPUT WOULD NOT BE SPAM!!! # Let's add an extra widget (a button) to the {{ dialog }} extra_button = Gtk::Button.new("Extra button")