public isTitleBarDragRegion(x as Int, y as Int) as Boolean
Tests whether this point in a hosted title widget moves the window. Ordinary widgets keep their input. Composite canvases can return true over empty background while retaining tabs, buttons and text selection. Coordinates are window-relative, as in MouseEvent. Outside a title host this hook has no effect.
| Parameter | Description |
|---|---|
x | Window-relative pointer x. |
y | Window-relative pointer y. |
True for a window drag region, false for ordinary widget input.
public override isTitleBarDragRegion(x as Int, y as Int) as Boolean:
return x >= this.x + this.controlsWidth