Gtk.Window.prototype.get_accept_focus

function get_accept_focus():Boolean {
    // Gjs wrapper for gtk_window_get_accept_focus()
}

Gets the value set by Gtk.set_accept_focus.

Since 2.4

Returns

true if window should receive the input focus