klyn.gui.windows.DockBar.updateHoverAt
method
public updateHoverAt(x as Int, y as Int) as Boolean:
Description

Updates the hovered pane button from window-client coordinates.

Native backends can hit-test the parent DockWorkspace instead of the bar itself when a pane is expanded. DockWorkspace therefore routes mouse movement here so hover rendering remains deterministic for every dock icon.

Parameters
ParameterDescription
xWindow-client x coordinate.
yWindow-client y coordinate.
Returns

True when the pointer is over a pane button.

Example
if bar.updateHoverAt(mouseX, mouseY):
print("dock button hovered")