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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 8月 17日 (金) 07:39:37 JST


-------------------------
REMOTE_ADDR = 70.49.49.99
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts
-------------------------
@@ -354,7 +354,7 @@
 
 === Sorting Tree View
 
-Sorting in GTK+ is define in Gtk::TreeSortable module, or as GTK+ programmers like to say, interface. This interface is implemented by all model classes, hence views can demand that model data be sorted. This is accomplished by setting Gtk::TreeStore#sort_column_id or Gtk::TreeStore#sort_column_id. However, in order to equip column headers with sorting visual indicators and triggers to initialize sorting processes, view also needs to be aware those columns. To give this information to tree view we employ Gtk::TreeViewColumn#sort_column_id=(sort_column_number).
+Sorting in GTK+ is define in Gtk::TreeSortable module, or as GTK+ programmers like to say, interface. This interface is implemented by all model classes, hence views can demand that model data be sorted. This is accomplished by setting Gtk::ListStore#sort_column_id or Gtk::TreeStore#sort_column_id. However, in order to equip column headers with sorting visual indicators and triggers to initialize sorting processes, view also needs to be aware those columns. To give this information to tree view we employ Gtk::TreeViewColumn#sort_column_id=(sort_column_number).
 
 :Note:
     Here,((*sort_column_number*))is the column number in model or store and not the view column number, though, often they do coincide, just like in this program. However, one thing to remember is that you never directly refer to a view column number. View column numbers are implicitly defined when Gtk::TreeView#append_column(column) is executed.




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