Re: Problem with gtk threads...



From the threads, I need to update the UI.

The overwhelming consensus, I think, is that even if possible (on X11,
with proper use of the gdk locking functions etc), this is a bad idea.
Instead, call g_timeout_add() in your threads to schedule functions to
be run in the main GUI thread, and have these functions then update
the GUI.

The information contained in this electronic message and any attachments
to this message are intended [etc]

You will probably be more flamed for this part than you will get
useful answers to your technical question. Lawyerspeak like this is
utterly stupid to add to messages sent to public mailing lists that
are archived publicly and readable by anybody.

--tml



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