GIRepository.ConstantInfo g_object_info_get_constant GIRepository.ObjectInfo info gint n object_info_get_constant @accepts(GIRepository.ObjectInfo, gint) @returns(GIRepository.ConstantInfo) def object_info_get_constant(info, n)

Obtain an object type constant at index @n.

g_base_info_unref() when done.

info :

a GIObjectInfo

n :

index of constant to get

Returns :

the GIConstantInfo. Free the struct by calling