Gtk.Window.prototype.get_application

function get_application():Gtk.Application {
    // Gjs wrapper for gtk_window_get_application()
}

Gets the Gtk.Application associated with the window (if any).

Since 3.0

Returns

a Gtk.Application, or null