Gambas Documentation - /comp/gb.desktop.x11/x11/findwindow

# X11.FindWindow (gb.desktop.x11)

Static Function FindWindow ( [ Title As String, Application As String, Role As String ] ) As Integer[]

Find windows matching the specified criteria, and return their identifiers as an array of integers.

- Title is the title of the window.

- Application is the window class name (all windows created by the same application often use the same class name).

- Role is the role name associated with the window.

Each criterium is a string pattern as defined by the LIKE instruction.

### See also

- LIKE