class documentation

class DesktopEntryFile(DesktopEntryDict, INIConfigFile): (source)

View In Hierarchy

Class implementing a single desktop entry file with the definition of an external application.
Method __init__ Constructor
Property key Undocumented

Inherited from DesktopEntryDict:

Method get_pixbuf Get the application icon as a GdkPixbuf.Pixbuf. @param size: the icon size as gtk constant @returns: a pixbuf object or None
Method isvalid No summary
Method parse_exec No summary
Method update Same as dict.update()
Property cmd Undocumented
Property comment Undocumented
Property name Undocumented
Property nodisplay Undocumented
Property tryexeccmd Undocumented
Class Variable _definitions Undocumented

Inherited from Application (via DesktopEntryDict):

Method __eq__ Undocumented
Method __repr__ Undocumented
Method pipe Run the application in a sub-process and capture the output. Like run(), but connects to stdin and stdout for the sub-process.
Method run No summary
Method spawn No summary
Method tryexec No summary
Constant STATUS_OK Undocumented
Static Method _lookup Lookup cmd in PATH
Method _checkargs Undocumented
Method _cmd Undocumented
def __init__(self, file): (source)
Constructor
Parameters
fileUndocumented
cmdthe command for the external application, either a string for the command, or a tuple or list with the command and arguments
tryexeccmdcommand to check in tryexec() as string. If None will default to cmd or the first item of cmd.