Gtk.Application.prototype.get_window_by_id
function get_window_by_id(id:Number):Gtk.Window { // Gjs wrapper for gtk_application_get_window_by_id() }
Returns the Gtk.ApplicationWindow with the given ID.
Since 3.6
- id
an identifier number
- Returns
the window with ID id, or null if there is no window with this ID