Hello Florent,

On Fri, 4 Sep 2009, Florent Blanchon wrote:

I've tried with a pthread mechanism, by passing main class in argument,
but, when I arrive at
 
      PlotTest->m_plot.scale(PlotMM::AXIS_LEFT)->set_range( Ymin,
      Ymax);

You cannot call gtkmm functions from your worker thread. You need to do the socket stuff in the worker thread and transfer the data to the main thread, which then calls gtkmm.

Mark
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to