I think she means that she wants the popup menu to be modal, so that the user has to make a selection (or escape, presuming escape is bound to cancel) before anything on the taskbar responds.
Calling GtkWidget.setModal(true) on the popup will get the behavior you are looking for (if I understand what you are looking for). On Monday 27 May 2002 12:26 pm, Christian Reis wrote: > On Sun, May 19, 2002 at 01:23:40PM +0800, Anita Zahara wrote: > > In my program, whenever user click any button from the main menu, > > there will be a pop up menu. I want to make > > Any button from the main menu? Wait, this isn't making any sense to me. > Do you mean a toolbar? You have a toolbar of buttons that open popup > menus? > > If this is the case, I would recommend using a more traditional layout > for your application; it would be highly unfamiliar and cumbersome. The > menubar by itself works very well and provides all the functionality you > would need. > > > the main menu disabled, so the user will not tend to > > click any button from the main menu until they quit > > the pop up menu. > > I'm afraid I'm not following you here. > > Take care, -- Seth Kurtzberg MIS Corp. Office: (480) 661-1849 Fax: (480) 614-8909 email: [EMAIL PROTECTED] pager: 888-605-9296 or email [EMAIL PROTECTED] _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
