[pygtk] List sort question

2002-07-15 Thread Andrew Burr
All, I am trying to make sort function for my GtkTreeView... ... store.set_sort_func(1, my_sort_func) ... def my_sort_func (store, a, b): model = ?? model.get(b, 0, bb, -1) model.get(b, 0, bb, -1) return strcasecmp(aa, bb) My question is how do I get the model

Re: [pygtk] List sort question

2002-07-15 Thread James Henstridge
Andrew Burr wrote: All, I am trying to make sort function for my GtkTreeView... ... store.set_sort_func(1, my_sort_func) ... def my_sort_func (store, a, b): model = ?? model.get(b, 0, bb, -1) model.get(b, 0, bb, -1) return strcasecmp(aa, bb) My question is how do