Inherits from
- HasTraits: enthought.traits.has_traits.HasTraits
Attributes
- control
The toolkit-specific control that represents the part.
The framework sets this to the value returned by 'create_control'.
control = Any
- has_focus
Does the part currently have the focus?
has_focus = Bool(False)
- id
The part's globally unique identifier.
id = Str
- name
The part's name (displayed to the user).
name = Unicode
- selection
The current selection within the part.
selection = List
- window
The workbench window that the part is in.
The framework sets this when the part is created.
window = Instance('enthought.pyface.workbench.api.WorkbenchWindow')
Method summary
- create_control(self, parent)
- destroy_control(self)
- set_focus(self)
Methods
- create_control(self, parent)
Create the toolkit-specific control that represents the part.
- destroy_control(self)
Destroy the toolkit-specific control that represents the part.
- set_focus(self)
Set the focus to the appropriate control in the part.