bgiGetGizmoX

Category: BGI GUI

Syntax:

bgiGetGizmoX:Int(gizmo:Int)


Parameters

Returns

Int



Summary

Gets the X coordinate (horizontal position) of a gizmo.

Takes gizmo (Int).

Returns the x position the gizmo was created or last laid out at, or -1 if there is no such gizmo. For a control it is relative to its parent; for a window it is the window's position on screen.

In this edition, a Wayland desktop does not tell applications where their windows are, so for a window it reads 0 there unless bgiSetGizmoLayout has set it.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn