Re: [gtk-list] semi modal window ;-)




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]