Classes
DockArea | A component which arranges dock item children. |
Bases: enaml.widgets.constraints_widget.ConstraintsWidget
A component which arranges dock item children.
The layout of dock items for the area. This attribute is not kept in sync with the layout state of the widget at runtime. The ‘save_layout’ method should be called to retrieve the current layout state.
The default tab position for newly created dock tabs.
Whether the dock items resize as a dock splitter is being dragged (True), or if a simple indicator is drawn until the drag handle is released (False). The default is True.
The name of the registered style to apply to the dock area. The list of available styles can be retrieved by calling the function available_styles in the enaml.stdlib.dock_area_styles module. The default is a style inspired by Visual Studio 2010
Users can also define and use their own custom style sheets with the dock area. Simply set this attribute to an empty string so the default styling is disabled, and proceed to use style sheets as with any other widget (see the stdlib styles for inspiration).
Only one mode of styling should be used for the dock area at a time. Using both modes simultaneously is undefined.
Whether or not dock events are enabled for the area.
An event emitted when a dock event occurs in the dock area. dock_events_enabled must be True in order to recieve events.
A Stack expands freely in height and width by default
A reference to the ProxyStack widget.
A reimplemented initializer method.
This method ensures the internal style sheet is created.
Save the current layout state of the dock area.
Returns : | result : docklayout
|
---|
Apply a new layout to the dock area.
Parameters : | layout : docklayout
|
---|
Update the layout configuration using layout operations.
Parameters : | ops : DockLayoutOp or iterable
|
---|