Method summary
- __init__(self, contents = None)
- CalcMin(self)
- DockInfoAt(self, x, y, size, is_control)
- Draw(self, window)
- GetContents(self)
- GetStructure(self)
- IsMaximizable(self)
- MinMax(self, window, dock_control)
- ObjectAt(self, x, y, force = False)
- RecalcSizes(self)
- Reset(self, window)
- ResetStructure(self, window)
- SetContents(self, contents)
- SetStructure(self, window, structure, handler = None)
- ToggleLock(self)
Methods
- __init__(self, contents = None)
- CalcMin(self)
- DockInfoAt(self, x, y, size, is_control)
Gets a DockInfo object at a specified x, y position.
- Draw(self, window)
Draws the contents of the sizer.
- GetContents(self)
Returns the current sizer contents.
- GetStructure(self)
Returns a copy of the layout 'structure', minus the actual content (i.e. controls, splitters, bounds). This method is intended for use in persisting the current user layout, so that it can be restored in a future session.
- IsMaximizable(self)
Returns whether the sizer can be maximized now.
- MinMax(self, window, dock_control)
Minimizes/Maximizes a specified DockControl.
- ObjectAt(self, x, y, force = False)
Returns the object at a specified window position.
- RecalcSizes(self)
Layout the contents of the sizer based on the sizer's current size and position.
- Reset(self, window)
Resets the DockSizer to a known state.
- ResetStructure(self, window)
Restores the previously saved structure (if any).
- SetContents(self, contents)
Initializes the layout of a DockWindow from a content list.
- SetStructure(self, window, structure, handler = None)
Takes a previously saved 'GetStructure' result and applies it to the contents of the sizer in order to restore a previous layout using a new set of controls.
- ToggleLock(self)
Toggles the current 'lock' setting of the contents.