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



Is LijstDagdeel a child class of SigC::Object??

-----Original Message-----
From: Bart Hakvoort [mailto:bart hakvoort castel nl]
Sent: Thursday, October 17, 2002 6:53 AM
To: gtkmm-list gnome org
Subject: [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

_______________________________________________
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]