Re: GTK Modal dialog



On Thu, 07 Oct 2004 19:42:19 +0200, Miroslav Rajcic <rajcic sokrates hr> wrote:
> > try this:
> >
> > gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (parent));
> > gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
> 
> I've already tried this, bur it just doesn't work on Windows version. On
> GTK my code seems to be
> working OK.

I use gtk_window_set_transient_for() in my application to make dialogs
that float above their parents and don't appear on the taskbar ... it
works fine on windows for me (I'm using gtk+-2.4.9).

Maybe you could post a test program that shows the problem you are having?

John



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