Window.setHasUserRefCount

Tells GTK+ whether to drop its extra reference to the window when gtk_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.

class Window
void
setHasUserRefCount
(
bool setting
)

Parameters

setting bool

the new value

Meta