Re: [gtkmm] connecting to an checkbutton in a listview



He! i've found the solution already, i had
LijstDagdeel::listview_on_cell_toggled  declared as :
LijstDagdeel::listview_on_cell_toggled(Glib::ustring)

this should be :
LijstDagdeel::listview_on_cell_toggled(const Glib::ustring &)

either way, tnks for the response!

bart


On Thu, 2002-10-17 at 14:53, Bart Hakvoort wrote:
> Hi,
> 
> I'll try to connect a callback to a signal_toggled() emmited by an
> checkbutton in a listview. But whatever i try, i still get the same
> compile error. Hopefully this two lines of code illusrtates the problem,
> if not, i'll can always add more.
> 
> -----------------------------------------------------------
> Gtk::CellRendererToggle* pRenderer = Gtk::manage( new 
> Gtk::CellRendererToggle() );
> pRenderer->signal_toggled().connect( SigC::slot(*this,
> &LijstDagdeel::listview_on_cell_toggled) );
> -----------------------------------------------------
> 
> the compile error is :
> 
> no matching function for call to 'Glib::SignalProxy1<void. const
> Glib::ustring &>::connect ( SigC::Slot0<void>)'
> 
> any thoughs ?
> 
> bart
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list





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