Window.setHasUserRefCount
void setHasUserRefCount(bool setting)Tells GTK+ whether to drop its extra reference to the window when [gtk.widget.Widget.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.
Parameters
setting | the new value |