pyface.tasks.i_task_window_backend module¶
- class pyface.tasks.i_task_window_backend.ITaskWindowBackend(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]¶
Bases:
Interface
The TaskWindow layout interface.
TaskWindow delegates to an ITaskWindowBackend object for toolkit-specific layout functionality.
- control = Any()¶
The root control of the TaskWindow to which the layout belongs.
- window = Instance("pyface.tasks.task_window.TaskWindow")¶
The TaskWindow to which the layout belongs.
- destroy()[source]¶
Destroy the backend.
Note that TaskWindow will destroy the widget created in create_contents, but this method may be used to perform additional cleanup.