Re: [gtkmm] Example code for TreeSortable::set_sort_func()
- From: Murray Cumming <murrayc murrayc com>
- To: erik_ohrnberger dme net
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Example code for TreeSortable::set_sort_func()
- Date: Thu, 01 Jul 2004 13:59:36 +0200
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]