Re: Custom sorting example



Dale,

here's an example example:

<http://cvs.sourceforge.net/viewcvs.py/granule/granule/src/DeckView.cpp?rev=1.29&view=auto>

Search for on_sort_compare() and set_sort_func().

hope this helps,

-Vlad

On Tue, 2005-01-25 at 17:04, Dale & Dianna Marchand wrote:
> Hi,
> 
> Does anyone has some sample code on how to sort by multiple columns in a
> treeview?  I'm new to gtkmm (and GUI programming in general), and while I
> managed to fight my way thru basic sorting, it'll take forever to get beyond
> that without a sample, which I can't seem to find anywhere on the web.  I'm
> thinking I need to write a custom sort function using set_sort_func on my
> ListStore, but I'm getting lost beyond that.
> 
> Help appreciated.
> 
> Dale
> 
> 
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
-- 
_____________________________________________________________
Vladislav Grinchenko       http://home.comcast.net/~3rdshift/
                                 e-mail: 3rdshift comcast net
                                                   
      Focus on quality, and productivity will follow.
_____________________________________________________________




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