Package Camelot :: Package camelot :: Package admin :: Package list_action |
[frames] | no frames]

# Package list_action

source code

Classes
| ListAction Abstract base class to implement list actions
| ListActionFromGuiFunction Convert a function that is supposed to run in the GUI thread to a ListAction
| ListActionFromModelFunction Convert a function that is supposed to run in the model thread to a FormAction
| PrintHtmlListAction
| OpenFileListAction List action used to open a file in the prefered application of the user. To be used for example to generate pdfs with reportlab and open them in the default pdf viewer.

Functions
structure_to_list_actions(structure) Convert a list of python objects to a list of list actions. If the python object is a tuple, a ListActionFromGuiFunction is constructed with this tuple as arguments. If the python object is an instance of a ListAction, it is kept as is. | source code

Variables
| logger = `logging.getLogger('camelot.admin.list_action')`
| __package__ = ``'``Camelot.camelot.admin.list_action``'``