Re: GUI window creation from a thread
- From: "John Cupitt" <jcupitt gmail com>
- To: "Preeti Joshi" <preetijoshi79 gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GUI window creation from a thread
- Date: Mon, 8 Jan 2007 10:47:55 +0000
On 1/8/07, Preeti Joshi <preetijoshi79 gmail com> wrote:
Is it not possible to create a GUI window from a thread? I created a thread
There are several FAQs about this:
http://www.gtk.org/faq/#AEN482
And some others, read down a bit.
In my opinion, it's best not to do this, but instead to only call gtk
from your main thread. If you need to start a worker thread to perform
some time-consuming operation, use g_timeout_add() from the worker to
send messages to the main thread.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]