You can use the set_modal method of any GtkWindow derived class:
  window.set_modal(TRUE)

When the dialog is shown, it will act as any other dialog, but no other
window can take input.  It will loose modality when it is hidden or
destroyed.

Unless you really have to it is probably better not to use a modal dialog,
as most users prefer non modal dialogs.

James.

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


On Fri, 25 Feb 2000, Moshe Zadka wrote:

> It's probably extremely easy, but I'm having problems figuring
> out how to display a file dialog so when it's active, the rest of
> the application doesn't respond.
> 
> Do I need a seperate event loop, or something like that?
> 
> Thanks in advance.
> 
> --
> 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