Home | Trees | Indices | Help |
|
---|
|
object --+ | GnomeShell
Utility class to help working with certain atributes of gnome-shell. Currently that means handling the Application menu available for apps on the top gnome-shell panel. Searching for the menu and its items is somewhat tricky due to fuzzy a11y tree of gnome-shell, mainly since the actual menu is not present as child to the menu-spawning button. Also, the menus get constructed/destroyed on the fly with application focus changes. Thus current application name as displayed plus a reference known menu item (with 'Quit' as default) are required by these methods.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Returns list of all menu item nodes. Searches for the menu by a reference item. Provide a different item name, if the 'Quit' is not present - but beware picking one present elsewhere, like 'Lock' or 'Power Off' present under the user menu. |
Returns a particilar menu item node. Uses a different 'Quit' or custom item name for reference, but also attempts to use the given item if the general reference fails. |
Executes the given menu item through opening the menu first followed by a click at the particular item. The menu search reference 'Quit' may be customized. Also attempts to use the given item for reference if search fails with the default/custom one. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 16 16:06:06 2014 | http://epydoc.sourceforge.net |