Application.getWindowById

gtk.window.Window getWindowById(uint id)

Returns the #GtkApplicationWindow with the given ID.

The ID of a #GtkApplicationWindow can be retrieved with [gtk.application_window.ApplicationWindow.getId].

Parameters

idan identifier number

Returns

the window with ID id, or

null if there is no window with this ID