On Tue, May 28, 2002 at 05:01:49PM +0800, Anita Zahara wrote:
> Sorry if I make you all confused.
> I attached here sample of the programming.
> 
> Is there a better  way to do it?
> Thanx for your comment.

I didn't see any menus in that application - just two buttons that
opened popup windows. If you are talking about dialogs, and modal
dialogs, I have begun to understand the problem.

What you want is:

a) Make the dialog modal.
b) Call window.set_transient_for(parent_window) - it's a method of
GtkWindow IIRC; call it for the dialog.

Helped?

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to