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
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