GIPropertyInfo

GIPropertyInfo — Struct representing a property

Synopsis

#define             GI_IS_PROPERTY_INFO                 (info)
typedef             GIPropertyInfo;
GParamFlags         g_property_info_get_flags           (GIPropertyInfo *info);
GITypeInfo *        g_property_info_get_type            (GIPropertyInfo *info);
GITransfer          g_property_info_get_ownership_transfer
                                                        (GIPropertyInfo *info);

Description

GIPropertyInfo represents a property. A property belongs to either a GIObjectInfo or a GIInterfaceInfo.

Struct hierarchy

  GIBaseInfo
   +----GIPropertyInfo

Details

GI_IS_PROPERTY_INFO()

#define             GI_IS_PROPERTY_INFO(info)

info :


GIPropertyInfo

typedef GIBaseInfo GIPropertyInfo;

Represents a property of a GIObjectInfo or a GIInterfaceInfo.


g_property_info_get_flags ()

GParamFlags         g_property_info_get_flags           (GIPropertyInfo *info);

Obtain the flags for this property info. See GParamFags for more information about possible flag values.

info :

a GIPropertyInfo

Returns :

the flags

g_property_info_get_type ()

GITypeInfo *        g_property_info_get_type            (GIPropertyInfo *info);

Obtain the type information for the property info.

info :

a GIPropertyInfo

Returns :

the GITypeInfo, free it with g_base_info_unref() when done. [transfer full]

g_property_info_get_ownership_transfer ()

GITransfer          g_property_info_get_ownership_transfer
                                                        (GIPropertyInfo *info);

Obtain the ownership transfer for this property. See GITransfer for more information about transfer values.

info :

a GIPropertyInfo

Returns :

the transfer