python - avoid having to scroll in GTK popup menu -


i working on gnome panel applet displays pop-up menu on clicking it's icon. problem is, lots of entries, menu not pop first items visible, somewhere in middle. makes necessary scroll see top item (a sub-menu) , first ones under it. these data, not "menu" choices in usual sense. can suggest fix, other showing fewer items? on linux. thanks!

would work...?

menu.set_active(0) 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -