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
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to