[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-treev-trees

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 9月 22日 (土) 06:55:45 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees
-------------------------
@@ -108,7 +108,7 @@
  # Add the tree model to the tree view
  treeview.model = store
  scrolled_win = Gtk::ScrolledWindow.new
- scrolled_win.add(treeview)
+ scrolled_win.add(treeview)The obvious difference that needs little or no explanation is that the((*tree stores*)) are initialized with the tree rather than list store constructor (Gtk::TreeStore.new):
  scrolled_win.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC)
  window.add(scrolled_win)
  window.show_all
@@ -135,8 +135,7 @@
     ((*model-view-controller*)) (MVC) design is a design method where the information and the way it is rendered are separated, which is similar to the relationship between Gtk::TextView and Gtk::TextBuffer. 
 
 
-
-((*Tree stores*)) are initialized with Gtk::TreeStore.new.
+The obvious difference that needs little or no explanation is that the((*tree stores*)) are initialized with the tree rather than list store constructor (Gtk::TreeStore.new):
 
  # Create a new tree model with three columns, as Boolean,
  # integer and string.




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