Gtk.Window.prototype.set_application

function set_application(application:Gtk.Application):void {
    // Gjs wrapper for gtk_window_set_application()
}

Sets or unsets the Gtk.Application associated with the window.

The application will be kept alive for at least as long as the window is open.

Since 3.0

application

a Gtk.Application, or null