Package Camelot :: Package camelot :: Package admin :: Package application_action :: Class ApplicationAction |
[frames] | no frames]

# Class ApplicationAction

source code

An action that can be triggered by the user at the application level

Instance Methods
run(self, parent) Execute the action, called within the gui thread | source code
get_verbose_name(self) Returns: the name of the action, as it can be shown to the user | source code
get_icon(self) Returns: a camelot.view.art.Icon object | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties
Inherited from `object`: `__class__`

Method Details

### run(self, parent) | source code
Execute the action, called within the gui thread execution of the action Parameters: `parent` - a QWidget that can be used as a parent for widgets during the

### get_verbose_name(self) | source code
Returns: the name of the action, as it can be shown to the user

### get_icon(self) | source code
Returns: a camelot.view.art.Icon object