Danny Milosavljevic wrote:

Am Mit, den 21.07.2004 um 16:41 Uhr -0500 schrieb Doug Quale:
[...]


Since my column sizing concerns seem to be a non-issue, now I think
getting the sort info is hard. It might require connecting to column



Sort Info ? By Code ?

model.get_sort_column_id() returns: (column_id, sort_order) [for example
gtk.SORT_DESCENDING]

I don't know if sort order on *multiple* columns is possible. It
certainly would be useful, if implicitly applied (i.e. it sorts by the
sort column, for equal cells it sorts by the column following the sort
column, and so on)... but maybe someone else can shed a light.



I think you'd have to install your own sort function to do this:

http://www.pygtk.org/pygtk2reference/class-gtktreesortable.html#method-gtktreesortable--set-sort-func

John

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to