ruby-****@sourc*****
ruby-****@sourc*****
2009年 3月 6日 (金) 01:21:23 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dynui-libglade ------------------------- @@ -163,6 +163,6 @@ widget = o.glade.get_widget("widget_name") or - widget = o.glade.["widget_name"] + widget = o.glade["widget_name"] The widget returned above is already set up with all of the properties that you set up in Glade. You can use this widget like any other Gtk::Widget that was created in your applications using methods provided by Ruby GTK+ (Ruby/GNOME2). This shows one of the main advantages of Libglade - you do not have to provide all the monotonous code for setting up the user interface and can quickly get to developing more interesting aspects of the application.