DockCenterArea
classin packageklyn.gui.windows
public class DockCenterArea extends TabWidget:
└ DockCenterArea

Central tab area of a DockWorkspace.

The class intentionally stays close to TabWidget: editors and document-like widgets are still manipulated as tabs, while the surrounding workspace owns the docked panes.

workspace = DockWorkspace()
workspace.center.addTab("main.kn", editor)
Inherited Properties
propertyInherited Properties from TabWidget: activeIndex, activeTitle, activeWidget, addButtonWidth, closeAreaWidth, showAddButton, showTabBar, size, tabHeight
propertyInherited Properties from Container: autoRelayout, layout, padding
propertyInherited Properties from Widget: accentColor, backgroundColor, borderColor, bottom, canFocus, cornerRadius, font, foregroundColor, hasFocus, height, isEnabled, isHovered, isManaged, isTabStop, isVisible, layoutParams, margin, maxHeight, maxWidth, minHeight, minWidth, parent, preferredHeight, preferredWidth, right, sizePolicy, styleClass, width, window, x, y
Inherited Events
eventInherited Events from TabWidget: addTabRequested
eventInherited Events from Widget: keyPressed, keyReleased, mouseMoved, mousePressed, mouseReleased, mouseWheel, paintRequested, resized
Constructors
Modifier and Type Member Description
public DockCenterArea Creates an empty center area.
Inherited Methods
methodInherited Methods from TabWidget: addTab, applyLayout, closeTab, findTab, onTabClosed, onTabSelected, paint, select, setBounds, setTitleAt, titleAt, widgetAt
methodInherited Methods from Container: add, applyLayout, attachWindow, children, clear, paintOverlay, remove, withLayout
methodInherited Methods from Widget: blur, containsPoint, emitKeyPressed, emitKeyReleased, emitMouseMoved, emitMousePressed, emitMouseReleased, emitMouseWheel, handleTabKey, notifyPaintRequested, paint, paintOverlay, repaint, requestFocus, resolvePreferredHeight, resolvePreferredWidth, resolvedFont, setBounds
Inherited Operators
operatorInherited Operators from Container: operator[](index as Int) as Widget:, operator[](index as UInt) as Widget: