Inherits from
- HasPrivateTraits: enthought.traits.has_traits.HasPrivateTraits
Attributes
- closed_page
The control representing the closed page:
closed_page = Property(depends_on = 'closed_theme')
- closed_size
The closed size property for the page:
closed_size = Property
- closed_theme
The theme used to display a closed page:
closed_theme = ATheme
- control
The wxPython window the page represents [Set by client]:
control = Instance(wx.Window)
- data
Optional client data associated with the page [Set/Get by client]:
data = Any
- is_open
The current open status of the notebook page:
is_open = Bool(False)
- min_size
The minimum size for the page:
min_size = Property
- name
The name of the page (displayed on its 'tab') [Set by client]:
name = Str
- notebook
The notebook this page is associated with:
notebook = Instance('ThemedVerticalNotebook')
- object
The optional object defining the page name [Set by client]:
object = Instance(HasTraits)
- open_page
The control representing the open page:
open_page = Property(depends_on = 'open_theme')
- open_size
The open size property for the page:
open_size = Property
- open_theme
The theme use to display an open page:
open_theme = ATheme
- parent
The parent window for the client page [Get by client]:
parent = Property
- trait_name
The name of the object trait that signals a page name change [Set by client]:
trait_name = Str
- ui
The optional Traits UI associated with this page [Set by client]:
ui = Instance(UI)
Inherited from base classes
Method summary
- close(self)
- closed_left_dclick(self, x, y, event)
- closed_left_down(self, x, y, event)
- open_left_dclick(self, x, y, event)
- open_left_down(self, x, y, event)
- register_name_listener(self, object, trait_name)
- set_size(self, x, y, dx, dy)
Inherited from base classes
- __deepcopy__(self, memo)
- __getstate__(self)
- __prefix_trait__(self, name, is_set)
- __reduce_ex__(self, protocol)
- __setstate__(self, state, trait_change_notify = True)
- add_class_trait(cls, name, *trait)
- add_trait(self, name, *trait)
- add_trait_category(cls, category)
- add_trait_listener(self, object, prefix = '')
- all_trait_names(self)
- base_trait(self, name)
- class_default_traits_view(cls)
- class_editable_traits(cls)
- class_trait_names(cls, **metadata)
- class_trait_view(cls, name = None, view_element = None)
- class_trait_view_elements(cls)
- class_traits(cls, **metadata)
- clone_traits(self, traits = None, memo = None, copy = None, **metadata)
- configure_traits(self, filename = None, view = None, kind = None, edit = True, context = None, handler = None, id = '', scrollable = None, **args)
- copy_traits(self, other, traits = None, memo = None, copy = None, **metadata)
- copyable_trait_names(self, **metadata)
- default_traits_view(self)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- has_traits_interface(self, *interfaces)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- print_traits(self, show_help = False, **metadata)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- reset_traits(self, traits = None, **metadata)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = False)
- trait(self, name, force = False, copy = False)
- trait_context(self)
- trait_get(self, *names, **metadata)
- trait_monitor(cls, handler, remove = False)
- trait_names(self, **metadata)
- trait_set(self, trait_change_notify = True, **traits)
- trait_setq(self, **traits)
- trait_subclasses(cls, all = False)
- trait_view(self, name = None, view_element = None)
- trait_view_elements(self)
- trait_views(self, klass = None)
- traits(self, **metadata)
- validate_trait(self, name, value)
Methods
- close(self)
Closes the notebook page.
- closed_left_dclick(self, x, y, event)
Handles the user double clicking on a closed notebook page to open it.
- closed_left_down(self, x, y, event)
Handles the user clicking on a closed notebook page to open it.
- open_left_dclick(self, x, y, event)
Handles the user double clicking on an open notebook page to close it.
- open_left_down(self, x, y, event)
Handles the user clicking on an open notebook page to close it.
- register_name_listener(self, object, trait_name)
Registers a listener on the specified object trait for a page name change.
- set_size(self, x, y, dx, dy)
Sets the size of the current active page.