Re: [Fwd: connecting to signal_focus_out_event with additional parameters]



>> myentry->signal_focus_out_event().connect(sigc::bind<Gtk::Entry>
> *>(sigc::mem_fun(*this,&MyClass::on_entry_focus_out),myentry));

You can't pass Gtk::Entry by value. Maybe you meant <Gtk::Entry*>.
However, I think sigc::bind() without the <something> will do what you
want.


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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