public class DockBar extends Widget:
Fixed side bar that exposes collapsed DockPane buttons.
workspace = DockWorkspace()
workspace.addPane(DockPane("Chat", chat, DockSide.RIGHT))| Modifier and Type | Member | Description |
|---|---|---|
| public property | buttonSizebuttonSize as Int = 52 |
Button thickness in pixels before content zoom. |
| public readonly property | childCountchildCount as ULong: |
Number of pane buttons managed by this dock bar. |
| public property | iconSizeiconSize as Int = 34 |
Icon size in pixels before content zoom. |
| public property | sideside as String |
Side represented by this bar. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | DockBar | Creates a bar for one side. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | addPaneaddPane(pane as DockPane) as Void: |
Adds a pane button to the bar. |
| public override | paintpaint(painter as Painter) as Void: |
No summary. |
| public | toggleAt | Toggles the pane button located at x, y. |
| public | updateHoverAt | Updates the hovered pane button from window-client coordinates. |