Function

GObjecttype_is_a

Declaration [src]

gboolean
g_type_is_a (
  GType type,
  GType is_a_type
)

Description [src]

If is_a_type is a derivable type, check whether type is a descendant of is_a_type. If is_a_type is an interface, check whether type conforms to it.

Parameters

type GType
 

Type to check ancestry for.

is_a_type GType
 

Possible ancestor of type or interface that type could conform to.

Return value

Returns: gboolean
 

TRUE if type is a is_a_type.