Re: Problem With Gtk::CellLayout and Gtk::TreeModel
- From: Murray Cumming <murrayc murrayc com>
- To: Jim Orcheson <jim va3hj ca>
- Cc: gtkmm-list gnome org
- Subject: Re: Problem With Gtk::CellLayout and Gtk::TreeModel
- Date: Sun, 23 May 2010 23:59:04 +0200
On Sun, 2010-05-23 at 13:27 -0400, Jim Orcheson wrote:
> 2. If I change the problem line to:
> sigc::slot<void, Gtk::TreeIter> s =
> sigc::ptr_fun(&FontSelector::set_family);
> set_cell_data_func(renderer, s);
> then I get the following compiler error on the first line:
> error: no matching function for call to 'ptr_fun(void
> (FontSelector::*)(Gtk::TreeIter))'
Your set_family() is a member function. Surely you should be using
sigc::mem_fun(). It's iter method should probably be const & too.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]