Method

GtkWindowset_has_user_ref_count

since: 3.0

Declaration [src]

void
gtk_window_set_has_user_ref_count (
  GtkWindow* window,
  gboolean setting
)

Description [src]

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.

Available since: 3.0

Parameters

setting

Type: gboolean

The new value.