Desktop Menu¶
XDG Desktop Menu specification
-
xdg.Menu.
parse
(filename=None, debug=False)[source]¶ Helper function. Equivalent to calling xdg.Menu.XMLMenuBuilder().parse(filename)
-
class
xdg.Menu.
Menu
[source]¶ Menu containing sub menus under menu.Entries
Contains both Menu and MenuEntry items.
-
class
xdg.Menu.
MenuEntry
(filename, dir='', prefix='')[source]¶ Wrapper for ‘Menu Style’ Desktop Entries
-
DesktopEntry
¶ The
xdg.DesktopEntry.DesktopEntry
instance holding the data for this entry.
-