set_has_user_ref_count


Description:

[ Version ( since = "3.0" ) ]
public void set_has_user_ref_count (bool setting)

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

this

a Window

setting

the new value




2022 vala-language.org