I may be wrong but as I understand after clicking on column name the only way to disable sorting is by recreating a table. Maybe it is better to completely disable sorting by column names clicking and make sorting (by gtk.ListStore.reorder) via an option in table properties or popup menu. What I like in this approach is that otherwise it is easy to accidentally press column name and lose your table's initial order without undo option.
Sorry, should have added links to docs. www.pygtk. org/pygtk2refer ence/class- gtkliststore. html#method- gtkliststore- -swap www.pygtk. org/pygtk2refer ence/class- gtktreesortable .html
So
http://
and
http://
(use search to find quotes on the pages).
I may be wrong but as I understand after clicking on column name the only way to disable sorting is by recreating a table. Maybe it is better to completely disable sorting by column names clicking and make sorting (by gtk.ListStore. reorder) via an option in table properties or popup menu. What I like in this approach is that otherwise it is easy to accidentally press column name and lose your table's initial order without undo option.