klyn.gui.windows.TabWidget.applyLayout
method
public override applyLayout(recursive as Boolean = true) as Void:
Description

Returns the tab header located at a window-space point.

The optional add button and the trailing control area are deliberately excluded. Derived document containers can use this method to implement tab-specific interactions without duplicating tab geometry.

Parameters
ParameterDescription
xHorizontal coordinate in window space.
yVertical coordinate in window space.
Returns

Zero-based tab index, or -1 outside a tab header.

Example
class DocumentTabs extends TabWidget:
protected tabAt(x as Int, y as Int) as Int:
return this.tabIndexAt(x, y)