public class DockBar extends Widget
Fixed side bar that exposes collapsed DockPane buttons. Expanded buttons use their pane's background and text colors; keyboard focus is indicated by the accent outline rather than an accent fill. Expanded buttons without focus share the selected pane's scrollbar-gray contour. Horizontal buttons are aligned with their pane's leading edge.
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 | removePane | Removes a pane button from this bar. |
| public | toggleAt | Toggles the pane button located at x, y. |
| public | updateHoverAt | Updates the hovered pane button from window-client coordinates. |