Inherits from
- DockItem: enthought.pyface.dock.dock_sizer.DockItem
Attributes
- closeable
Can the control be closed?
closeable = Property
- contents
The contents of the group:
contents = List
- control
The control associated with this group:
control = Property
- export
Category of control when it is dragged out of the DockWindow:
export = Constant('')
- locked
Is the group locked?
locked = Property
- name
The UI name of this group:
name = Property
- resizable
Are the contents of the group resizable?
resizable = Property
- style
Style of drag bar/tab:
style = Property
- visible
Is the group visible?
visible = Property
- visible_contents
Content items which are visible:
visible_contents = Property
Inherited from base classes
Method summary
- close(self, layout = True, force = False)
- get_controls(self, visible_only = True)
- get_cursor(self, event)
- get_image(self)
- replace_control(self, old, new)
- show(self, visible = True, layout = True)
- toggle_lock(self)
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)
- dock_info_at(self, x, y, tdx, is_control)
- 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
- close(self, layout = True, force = False)
Closes the control.
- get_controls(self, visible_only = True)
Returns all DockControl objects contained in the group.
- get_cursor(self, event)
Gets the cursor to use when the mouse is over the item.
- get_image(self)
Gets the image (if any) associated with the group.
- replace_control(self, old, new)
Replaces a specified DockControl by another.
- show(self, visible = True, layout = True)
Hides or shows the contents of the group.
- toggle_lock(self)
Toggles the 'lock' status of every control in the group.