[pygtk] user-controllable treeview column suppression

Danny Milosavljevic danny.milo at gmx.net
Thu Jul 22 06:19:07 WST 2004


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.

> header 'clicked' signals and tracking the state by hand.  Of course I hope I'm wrong about this too.
> 
> Maybe someone has already worked on this and has some code to share?

cheers,
   Danny

-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 189 bytes
Beschreibung: Dies ist ein digital signierter Nachrichtenteil
URL         : http://www.daa.com.au/pipermail/pygtk/attachments/20040722/69efafb5/attachment-0001.bin


More information about the pygtk mailing list