Gtk.Window.prototype.get_deletable

function get_deletable():Boolean {
    // Gjs wrapper for gtk_window_get_deletable()
}

Returns whether the window has been set to have a close button via Gtk.set_deletable.

Since 2.10

Returns

true if the window has been set to have a close button