Hello,
I'm writing a program that is used solely from the keyboard.  My program
has a lot of screens, so I need an easy way for the user to access them.

The way that it's implemented now (in a curses-like interface) is I have a
menu displayed in the middle of the screen and the user presses the first
letter of a menu item to select it.  If it's a category, then a submenu
pops to the right where they can repeat the process until they get to a
leaf (hitting escape goes back one level)

Is there a way to make a popup menu persistent (until I tell it to
disappear) and bound to a window rather than 'floating' (so it acts like a
normal widget in terms of moving the parent window around)?

Right now I can make a menu pop up in the upper left corner of the screen
with this:

menu.popup(None, None, lambda x: (0,0,0), 0, 0)

But when I click somewhere (either by making a selection, or outside of
the menu) the menu disappears.

If my explaination isn't enough I can get pictures of the current program.

Sincerely,
Caleb Land


_______________________________________________
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