public override applyLayout(recursive as Boolean = true) as Void:
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.
| Parameter | Description |
|---|---|
x | Horizontal coordinate in window space. |
y | Vertical coordinate in window space. |
Zero-based tab index, or -1 outside a tab header.
class DocumentTabs extends TabWidget: protected tabAt(x as Int, y as Int) as Int: return this.tabIndexAt(x, y)