If there is part of the GUI that the user shouldn't use while the dialog
is open, consider making it insensitive (with set_sensitive(FALSE)).  This
is sometimes nicer than making a window application modal.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Fri, 25 Feb 2000, Moshe Zadka wrote:

> On Fri, 25 Feb 2000, James Henstridge wrote:
> 
> > You can use the set_modal method of any GtkWindow derived class:
> > window.set_modal(TRUE)
> 
> Thanks.
> 
> > Unless you really have to it is probably better not to use a modal dialog,
> > as most users prefer non modal dialogs.
> 
> This maybe slightly off-topic, since it's more about UI design then about
> PyGTK specifically, but the alternative I'm considering is to make
> it into a dialog which replaces an entry field. Is that considered all 
> right? I'm squimish, because it might clobber someone's carefully crafted
> text, but I *have* to allow inputting both via the file dialog and the
> entry field.
> 
> Thanks again!
> --
> Moshe Zadka <[EMAIL PROTECTED]>. 
> INTERNET: Learn what you know.
> Share what you don't.
> 
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> 

To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to