Re: Probleme With Threads.
- From: Florent Blanchon <florent blanchon gmail com>
- To: Mark Roberts <gtkmm manumark de>
- Cc: gtkmm-list gnome org
- Subject: Re: Probleme With Threads.
- Date: Fri, 4 Sep 2009 17:51:44 +0200
I've seen the method called signal_curved_changed in Curve class.
But how to connect this one to a callback ?
Thx.
On Fri, Sep 4, 2009 at 17:30, Mark Roberts
<gtkmm manumark de> wrote:
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]