GIRepository.BaseInfo g_type_info_get_interface GIRepository.TypeInfo info type_info_get_interface @accepts(GIRepository.TypeInfo) @returns(GIRepository.BaseInfo) def type_info_get_interface(info)

For types which have GI_TYPE_TAG_INTERFACE such as GObjects and boxed values, this function returns full information about the referenced type. You can then inspect the type of the returned GIBaseInfo to further query whether it is a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().

g_base_info_unref() when done.

info :

a GITypeInfo

Returns :

the GIBaseInfo, or None. Free it with