> Using Python and PyGTK I've got a GtkMenu with various GtkCheckMenuItems
> in it. When the user clicks one of the checkboxes the menu closes. I'd
> like for the user to be able to check a series of checkboxes without the
> menu closing each time.

I looked into this myself a while back, and gave up.  More important things to 
do, and so forth.

One thing did occur to me, though.  It's kind of annoying when you click a 
check menu item, and the menu doesn't go away. And having some that do, and 
some that don't, would probably drive my balmy.

I wonder, if it would be sane for menus to not close, say, if the shift or ctrl 
key is being held down.  In some rare occasions it's even useful for 
non-togglable menu items.  For example, recently used documents perhaps; you 
could open the last three documents by holding down the shift key while you 
clicked on them.  (Some thought would have to go into subsequent selections 
opening new tabs/windows, but that's a separate issue.)


Back to the original question; the "better" way, would probably be to use a 
dialog box in this instance, to allow these options to be changed without 
having to go back to the menu all the time.  Perhaps depending on usage, an 
Options menu item as well as the individual options, which brings them up in a 
dialog for when you need to change multiple options.


Fredderic

------------------------------------------------------------
Put your loved ones in good hands with quality senior assisted living. Click 
now!
Senior Assisted Living
http://tagline.excite.com/c?cp=KygC6Sa4isQW3maEJScgqAAAKZSlMmZOmLoSxr7IH9qxTEOrAAYAAAAAAAAAAAAAAAAAAADNAAAAAAAAAAAAAAAAAAASUQAAAAA=
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to