Re: [gtk-list] Re: modal windows



On Thu, 12 Mar 1998, Federico Mena wrote:

> >  what is the way to do modal windows ? I would like to popup a file
> >  selector and make all other windows visible, but inactive.
> 
> After you show your file selector window, try doing gtk_grab_add (my_window).

And after closing the window do gtk_grab_remove(my_window). Or you'll be in
serious trouble.

Bye, Nils
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen                  @college: nils@rhlx01.rz.fht-esslingen.de
Vogelsangstrasse 115             @home:    nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart                phone:    +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Wer heute an der Bildung spart,          Those who scrimp on education today,
hat morgen noch bloedere Politiker.      get even dumber politicians tomorrow.



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