Gtk.Window.prototype.set_has_user_ref_count

function set_has_user_ref_count(setting:Boolean):void {
    // Gjs wrapper for gtk_window_set_has_user_ref_count()
}

Tells GTK+ whether to drop its extra reference to the window when Gtk.Widget.prototype.destroy is called.

This function is only exported for the benefit of language bindings which may need to keep the window alive until their wrapper object is garbage collected. There is no justification for ever calling this function in an application.

Since 3.0

setting

the new value