class documentation

class CustomTool(CustomToolDict, INIConfigFile): (source)

View In Hierarchy

Class representing a file defining a custom tool, see CustomToolDict for the API documentation.
Method __init__ Constructor
Property key Undocumented

Inherited from CustomToolDict:

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 Check if all required fields are set. @returns: True if all required fields are set
Method parse_exec No summary
Method run No summary
Method update Same as dict.update()
Property execcmd Undocumented
Property icon Undocumented
Property isreadonly Undocumented
Property replaceselection Undocumented
Property showincontextmenu Undocumented
Property showintoolbar Undocumented
Class Variable _definitions Undocumented
Instance Variable _tmpfile Undocumented

Inherited from DesktopEntryDict (via CustomToolDict):

Property cmd Undocumented
Property comment Undocumented
Property name Undocumented
Property nodisplay Undocumented
Property tryexeccmd Undocumented

Inherited from Application (via CustomToolDict, 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 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.