Gtk::TreeSortable::set_sort_func Example?



Hello,

Does any one know the semantics of the usage of the set_sort_func?

I have a class containing a Glib::RefPtr<Gtk::ListStore> listStore object.
My listStore holds a column of objects of a class in which I have
overloaded the operators < > <= >= == !=

How can I set up a sort function to use for that column?
listStore->set_sort_func(listCols.my_object, ...)
what does the Gtk::TreeSortable::SlotCompare look like?

I could not find any examples...

Thanks very much,
Rose

_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen Technology http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]