Function

Hemisc_find_ancestor_of_type

Declaration

gpointer
he_misc_find_ancestor_of_type (
  GType t_type,
  GBoxedCopyFunc t_dup_func,
  GDestroyNotify t_destroy_func,
  GtkWidget* widget
)

Description [src]

An useful method for finding an ancestor of a given widget..

Parameters

t_type

Type: GType

No description available.

t_dup_func

Type: GBoxedCopyFunc

No description available.

t_destroy_func

Type: GDestroyNotify

No description available.

widget

Type: GtkWidget

The widget to find the ancestor of. .

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gpointer

No description available.

The caller of the function takes ownership of the data, and is responsible for freeing it.