Re: Opening a GtkWindow from a Thread

2006-08-02 Thread Tor Lillqvist
Philip Van Hoof writes: > Does this mean that gdk_threads_enter and _leave doesn't work on > Windows? Auwch ... Well, they do "work" (in the sense that they lock and unlock the gdk_threads_mutex), but that is not the problem. You should realize that Win32 GDI is not a pure network protocol like

Re: Opening a GtkWindow from a Thread

2006-08-02 Thread Philip Van Hoof
On Wed, 2006-08-02 at 11:07 +0300, Tor Lillqvist wrote: > [EMAIL PROTECTED] 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 an

Re: Opening a GtkWindow from a Thread

2006-08-02 Thread Tor Lillqvist
[EMAIL PROTECTED] 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_i

Opening a GtkWindow from a Thread

2006-08-02 Thread vbutty12
Dear all, I am desperatly trying to open a dialog box from a thread on Windows XP. The dialog box is indeed opening, but when I try to move it from its initial position, the GUI freezes. The only way I could find to let the application work is to create the dialog box at the start of each thr