Re: Glib::Thread



2010/6/8 Adam Chyla [PL] <adam chyla gmail com>:
>
> Hi.
> I'm trying to run my program with one thread. Only window is not responding,
> theards still works. I don;t known what is wrong.

I think the problem is that you are trying to modify the label from a
different thread than the one that created it. As far as I know, this
will not work on Windows. If you want to periodically update some UI
element, use g_timeout_add instead of creating a second thread.

Regards, Krzysztof


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]