Re: Opening a GtkWindow from a Thread



On Wed, 2006-08-02 at 11:07 +0300, Tor Lillqvist wrote:
vbutty12 netscape net writes:
 > I am desperatly trying to open a dialog box from a thread on
 > Windows XP.

Using GTK+ from multiple threads doesn't work on Windows, see bug
#60620. (And doing that is usually considered bad design anyway, I
think.) Do all your GTK+ calls from the main thread. Use g_idle_add()
to schedule GUI that happens in the main thread from other
threads.

Does this mean that gdk_threads_enter and _leave doesn't work on
Windows? Auwch ...


-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be




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