Inherits from
- DockGroup: enthought.pyface.dock.dock_sizer.DockGroup
Attributes
- dock_window
The DockWindow that owns this section (set on top level section only):
dock_window = Instance('enthought.pyface.dock.dock_window.DockWindow')
- is_row
Is this a row (or a column)?
is_row = Bool(True)
- modified
Contents of the section have been modified property:
modified = Property
- splitters
Bounds of any splitter bars associated with the region:
splitters = List(DockSplitter)
Inherited from base classes
Method summary
- add(self, control, region, kind)
- calc_min(self, use_size = False)
- dock_info_at(self, x, y, tdx, is_control, force = False)
- draw(self, dc)
- dump(self, indent = 0)
- get_splitter_bounds(self, splitter)
- get_structure(self)
- object_at(self, x, y, force = False)
- recalc_sizes(self, x, y, dx, dy)
- recalc_sizes_fixed(self, x, y, dx, dy)
- remove(self, item)
- set_visibility(self, visible)
- update_splitter(self, splitter, window)
Inherited from base classes
- __deepcopy__(self, memo)
- __getstate__(self)
- __init__(self, **kw)
- __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)
- begin_draw(self, dc, ox = 0, oy = 0)
- 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)
- draw_fixed(self, dc)
- draw_horizontal(self, dc)
- draw_tab(self, dc, state)
- draw_vertical(self, dc)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- end_draw(self, dc)
- feature_activate(self, event, drag_object = Undefined)
- feature_bar_closed(self)
- fill_bg_color(self, dc, x, y, dx, dy)
- has_traits_interface(self, *interfaces)
- hover_enter(self, event)
- hover_exit(self, event)
- is_at(self, x, y, bounds = None)
- is_in(self, event, x, y, dx, dy)
- mark_bounds(self, begin)
- mouse_down(self, event)
- mouse_move(self, event)
- mouse_up(self, event)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- post_drag(self, tag = 0)
- post_drag_all(self)
- pre_drag(self, object, tag = 0)
- pre_drag_all(self, object)
- print_traits(self, show_help = False, **metadata)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- reset_feature_popup(self)
- reset_traits(self, traits = None, **metadata)
- set_drag_bounds(self, x, y, dx, dy)
- set_feature_mode(self, changed = True)
- 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
- add(self, control, region, kind)
Adds a control to the section at the edge of the region specified.
- calc_min(self, use_size = False)
Calculates the minimum size of the section.
- dock_info_at(self, x, y, tdx, is_control, force = False)
Gets the DockInfo object for a specified window position.
- draw(self, dc)
Draws the contents of the section.
- dump(self, indent = 0)
Prints the contents of the section.
- get_splitter_bounds(self, splitter)
Gets the maximum bounds that a splitter bar is allowed to be dragged.
- get_structure(self)
Returns a copy of the section 'structure', minus the actual content.
- object_at(self, x, y, force = False)
Returns the object at a specified window position.
- recalc_sizes(self, x, y, dx, dy)
Layout the contents of the section based on the specified bounds.
- recalc_sizes_fixed(self, x, y, dx, dy)
Layout the contents of the section based on the specified bounds using the minimum requested size for each item.
- remove(self, item)
Removes a specified region or section from the section.
- set_visibility(self, visible)
Sets the visibility of the group.
- update_splitter(self, splitter, window)
Updates the affected regions when a splitter bar is released.