Re: [gtkmm] Example code for TreeSortable::set_sort_func()



On Wed, 2004-06-30 at 13:00 -0400, erik_ohrnberger dme net wrote:
> 	Does anyone have an example (or pointer to an example) of how to use
> the TreeSortable::set_sort_func() method?

It looks like a very simple method:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeSortable.html#a9

Just provide a sigc::slot for your sorting function, by using
sigc::mem_fun(), or sigc::ptr_fun().




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