Re: [gtk-list] semi modal window ;-)
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: Marc van Kempen <marc bowtie nl>
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] semi modal window ;-)
- Date: Fri, 11 Dec 1998 09:41:10 -0600 (CST)
On Fri, 11 Dec 1998, Marc van Kempen wrote:
>
> Ok, after reading several FAQ's and the source to some degree I understand
> that modal windows are considered a nono, but having to deal with ignorant
> users, I have to compensate for their lack of a clue and would like to do
> so by at least forcing a particular input window to always remain on top.
>
You want to have window of type GTK_WINDOW_DIALOG, and then call
gtk_window_set_transient_for to tell Gtk which window is considered its
"parent." This only works in the latest Gtk release (or maybe the one
before, but it had a bug in the one before).
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]