Hi, Le Sat, 29 Nov 2008 17:40:29 -0800,"Ian Puleston" <ian@xxxxxxxxxxxxxxxxxxxxxxx> a écrit : > > -----Original Message-----> > From: Ian Puleston> > > > What I want to do is to open a "help" window that the user can keep> > open while they are working in the main app window. So I tried> > launching a separate thread> > for it and in that thread creating either a top level window or> > (preferably)> > a dialog window, but I can't get either to work. The window gets> > created and displayed fine, but trying to then call gtk_main()> > or gtk_dialog_run() in the 2nd thread doesn't work.> > This was in Win32 and I just found an old email from Tor saying not> to try to use threads in Win32, so if that is the answer then I guess> just ignore my question. You have to set proper window flags on the dialog. It must not be setas modal, see [1] for this. HTHRegarsMike[1] http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-set-modal_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list