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

Zurück zum Archiv-Index

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


-------------------------
REMOTE_ADDR = 70.49.49.99
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts
-------------------------
@@ -352,6 +352,9 @@
 
 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).
 
+:Note:
+    Here,((*sort_column_number*))is the column number in model or store and not the view column number. 
+
 Following is the same program as the above "liststore.rb" but here with added sorting features. Please read the comments explaining sorting features to set visual and clickable sort items in the tree view column header.
 
 ((*liststore-sorting.rb*))




ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index