[pygtk] clist.set_compare_func ?
George Young
gry@ll.mit.edu
Fri, 1 Sep 2000 11:46:18 -0400
[pytgk-0.7.0]
Has anyone successfully used the clist.set_compare_func function?
I need to sort columns case-insensitively. When I try to do
myclist.set_compare_func(myfunc)
I get and attribute error on set_compare_func,
thought I see the function in gtk.defs file in the source distribution.
[though I admit I have not deciphered how the pygtk support works...]
Is there currently any way to do a custom sort in clist?
I guess I could freeze, clear, sort my source list, reinsert everything,
thaw....
Thanks,
George
--
George Young, Rm. L-204 gry@ll.mit.edu
MIT Lincoln Laboratory
244 Wood St.
Lexington, Massachusetts 02420-9108 (781) 981-2756