Re: using member functions as callback for Gtk::TreeModelFilter
- From: Murray Cumming <murrayc murrayc com>
- To: danielrichter <danielrichter2008 yahoo de>
- Cc: gtkmm-list gnome org
- Subject: Re: using member functions as callback for Gtk::TreeModelFilter
- Date: Fri, 06 Feb 2009 17:29:40 +0100
On Fri, 2009-02-06 at 01:28 -0800, danielrichter wrote:
> Hello,
>
> I'm creating a little program with a filtered listStore and a combobox to
> choose the filter.
>
> I have found the Gtk::TreeModelFilter, which allows exactly what I need. In
> this time I use a static callback function for sorting. The problem is, that
> I need data, which are stored on my List object, which is derived from a
> ListView. To access the data, I have to assign a member function, but I
> don't know how I can do that.
sigc::mem_func() ?
> What can I give a member function to set_visible_func()?
>
> At the moment I use a workaround, which assigns a pointer to the object as
> static member to the class, but this doesn't seem to be a clear solution.
>
> Hope anyone can help me.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]