[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-dynui-tyu

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2009年 3月 7日 (土) 03:18:16 JST


-------------------------
REMOTE_ADDR = 74.15.84.244
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dynui-tyu
-------------------------
@@ -8,7 +8,8 @@
 === Exercise #1:
 
 {{image_left("mnstbs-tyu1.png")}}
-In this exercise implement the text editor from the 1st exercise in chapter (9), or as we call it "Menus and Toolbars" session, where we used the simple text editor example from an even earlier chapter (7) and implemented it there with Gtk::UIManager. Here we will use Glade to do the same. The toolbar in the text editor should be now implemented completely in Glade. This exercise should not require much extra coding if you use the solution from the previous chapter. However there are few important small differences. In chapter (9) most of the callbacks were implemented as Procs which inherit variables from the environment in which they are defined. Here, however, they are all methods. This calls for a different approach to pass in the variables tucked into the TextEditor class.
+In this exercise implement the text editor from the 1st exercise in chapter (9), or as we call it "Menus and Toolbars" session, where we used the simple text editor example from an even earlier chapter (7) where we programmed it manually, but implemented it in chapter 9 with Gtk::UIManager. Here we will use Glade to do the same. The toolbar in the text editor should be now implemented completely in Glade. This exercise should not require much extra coding if you use the solution from the previous chapter. However there are few important small differences. In chapter (9) most of the callbacks were implemented as Procs which inherit variables from the environment in which they are defined. Here, however, they are all methods. This calls for a different approach to pass in the variables tucked into the TextEditor class.
+
 
 
 Again, for your convenience I will include the ((*ex10-1-editor-tb.glade*)) file, so you can verify your work. 




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