[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Modal Windows
- From: Olivier Deme <olivier deme airtel-atn com>
- To: gtk-app-devel-list redhat com
- Subject: Re: Modal Windows
- Date: Fri, 27 Aug 1999 08:41:49 +0000
Marzullo Laurent wrote:
>
> "Bumpurs, C. Shane" wrote:
> >
> > I found this... What does this do?
> >
> > void gtk_window_set_modal (GtkWindow *window, gboolean modal);
> >
>
> As far as I remember ...
>
> gtk_set_transient_for ( window2 , window1 ) doesn't allow
> to raise window1 (i.e window2 always stay behind window1)
>
> gtk_set_modal ... perhaps set the window modal. But, What
> I was used to call modal is done by gtk_set_transient_for.
>
> I don't really understand what is gtk_set_modal.
> What is really a modal window ?
>
> Could Someone explain precisly what are doing this functions ?
>
> --
> To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
> "unsubscribe" as the Subject.
>
> Mailing list concerns should be mailed to <listmaster@redhat.com>
A modal window is a window that keeps control of a thread as long as it
is visible (meaning, as long as the user hasn't killed the window, i.e.
pressing 'OK' or 'CANCEL' button).
This means that has long as a modal window is visible, it is impossible
for ther user to interact with the other windows of the same process.
AS far as I know, it should not be possible to give the focus to a
non-modal window if a modal-window is present.
For these two functions, I am just a beginner with GTK and do not know
their exact meaning.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]