I think in C++ you just do this: void PlotTest::Curve_changed(); Also maybe you should connect it this way(not sure) myCurve1->signal_curve_changed().connect( sigc::mem_fun(this,&PlotTest::Curve_changed) );
Date: Thu, 10 Sep 2009 14:59:13 +0200 Subject: Probleme with SigC::Signal0 From: [email protected] To: [email protected] Hello, I'm using Plotmm with gtkmm. I want to connect a signal to my curve to display. the prototype of the signal is : SigC::Signal0<void> signal_curve_changed So, the prototype of the callback should be : void MyCallback(void) ? When I compile the project with : myCurve1->signal_curve_changed().connect( sigc::mem_fun(*this,&PlotTest::Curve_changed) ); With Curve_changed as : void PlotTest::Curve_changed(void) the compiler make me this error : Invalid use of void so I ca't use this signal.... Is anyone can help me...? Thanks. Flo _________________________________________________________________ Σύρετε φωτογραφίες στο παράθυρο του Messenger. Δείτε πώς. http://download.live.com/messenger
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
