The the top-level window to which tasks can be assigned.
A TaskWindow is responsible for creating and the managing the controls of its tasks.
title= Property(Str, observe=["active_task.name", "_title"])¶
Unless a title is specifically assigned, delegate to the active task.
The pane (central or dock) in the active task that currently has focus.
The active task for this window.
The list of all tasks currently attached to this window. All panes of the inactive tasks are hidden.
The central pane of the active task, which is always visible.
The list of all dock panes in the active task, which may or may not be visible.
The factory for the window’s TaskActionManagerBuilder, which is instantiated to translate menu and tool bar schemas into Pyface action managers. This attribute can overridden to introduce custom logic into the translation process, although this is not usually necessary.
Overridden to ensure that all task panes are cleanly destroyed.
Opens the window.
Overridden to make the ‘opening’ event vetoable and to activate a task if one has not already been activated. Returns whether the window was opened.
Activates a task that has already been added to the window.
Adds a task to the window. The task is not activated.
Removes a task that has already been added to the window. All the task’s panes are destroyed.
Shifts focus to the “next” pane, taking into account the active pane and the pane geometry.
Shifts focus to the “previous” pane, taking into account the active pane and the pane geometry.
Returns the central pane for the specified task.
Returns the dock pane in the task with the specified ID, or None if no such dock pane exists. If a task is not specified, the active task is used.
Returns the dock panes for the specified task.
Returns the task with the specified ID, or None if no such task exists.
Returns a TaskLayout (for the active task) that reflects the state of the window.
Applies a TaskLayout (which should be suitable for the active task) to the window.
Restores the active task’s default TaskLayout.
Returns a TaskWindowLayout for the current state of the window.
Applies a TaskWindowLayout to the window.