[gtkmm] connecting to an checkbutton in a listview



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




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