pyface.tasks.action.tasks_application_action module

class pyface.tasks.action.tasks_application_action.TasksApplicationAction[source]

Bases: GUIApplicationAction

application = Instance(TasksApplication)

The Tasks application the action applies to.

class pyface.tasks.action.tasks_application_action.CreateTaskWindowAction[source]

Bases: TasksApplicationAction

A standard ‘New Window’ menu action.

layout = Instance("pyface.tasks.task_window_layout.TaskWindowLayout")

The task window wayout to use when creating the new window.

perform(event=None)[source]

Call the appropriate function.

This looks for a method to call based on the extended method name stored in the method trait. If the method is empty, then this follows the usual Action method resolution.