The menu module

The menu module contains the Menu class which provides the ability to locate the configuration file for the Ubuntu application menu, as well as locating the system directory containing the applications.

The Menu class

Inheritance diagram of pyamp.system.ubuntu.menu.Menu

class pyamp.system.ubuntu.menu.Menu[source]

The Menu class provides the ability to find the file containing the configuration data pertaining to the Ubuntu applications menu, as well as the ability to locate the directory which stores the specific application configuration files.

classmethod findApplicationsDirectory()[source]

Return the directory which contains the application desktop files, or None if it was unable to be located.

classmethod findMenuFile()[source]

Return the system file associated with the applications menu, or None if it was unable to be located.

Table Of Contents

Previous topic

The packages module

Next topic

The util module

This Page