Gtk.Window.prototype.get_focus_on_map

function get_focus_on_map():Boolean {
    // Gjs wrapper for gtk_window_get_focus_on_map()
}

Gets the value set by Gtk.set_focus_on_map.

Since 2.6

Returns

true if window should receive the input focus when mapped.