giobjectinfo

giobjectinfo

Synopsis

typedef             GIObjectInfo;
const gchar *       g_object_info_get_type_name         (GIObjectInfo *info);
const gchar *       g_object_info_get_type_init         (GIObjectInfo *info);
gboolean            g_object_info_get_abstract          (GIObjectInfo *info);
GIObjectInfo *      g_object_info_get_parent            (GIObjectInfo *info);
gint                g_object_info_get_n_interfaces      (GIObjectInfo *info);
GIInterfaceInfo *   g_object_info_get_interface         (GIObjectInfo *info,
                                                         gint n);
gint                g_object_info_get_n_fields          (GIObjectInfo *info);
GIFieldInfo *       g_object_info_get_field             (GIObjectInfo *info,
                                                         gint n);
gint                g_object_info_get_n_properties      (GIObjectInfo *info);
GIPropertyInfo *    g_object_info_get_property          (GIObjectInfo *info,
                                                         gint n);
gint                g_object_info_get_n_methods         (GIObjectInfo *info);
GIFunctionInfo *    g_object_info_get_method            (GIObjectInfo *info,
                                                         gint n);
GIFunctionInfo *    g_object_info_find_method           (GIObjectInfo *info,
                                                         const gchar *name);
gint                g_object_info_get_n_signals         (GIObjectInfo *info);
GISignalInfo *      g_object_info_get_signal            (GIObjectInfo *info,
                                                         gint n);
gint                g_object_info_get_n_vfuncs          (GIObjectInfo *info);
GIVFuncInfo *       g_object_info_get_vfunc             (GIObjectInfo *info,
                                                         gint n);
gint                g_object_info_get_n_constants       (GIObjectInfo *info);
GIConstantInfo *    g_object_info_get_constant          (GIObjectInfo *info,
                                                         gint n);
GIStructInfo *      g_object_info_get_class_struct      (GIObjectInfo *info);
GIVFuncInfo *       g_object_info_find_vfunc            (GIObjectInfo *info,
                                                         const gchar *name);

Description

Details

GIObjectInfo

typedef GIBaseInfo GIObjectInfo;

Represents an object.


g_object_info_get_type_name ()

const gchar *       g_object_info_get_type_name         (GIObjectInfo *info);

info :

Returns :


g_object_info_get_type_init ()

const gchar *       g_object_info_get_type_init         (GIObjectInfo *info);

info :

Returns :


g_object_info_get_abstract ()

gboolean            g_object_info_get_abstract          (GIObjectInfo *info);

info :

Returns :


g_object_info_get_parent ()

GIObjectInfo *      g_object_info_get_parent            (GIObjectInfo *info);

info :

Returns :


g_object_info_get_n_interfaces ()

gint                g_object_info_get_n_interfaces      (GIObjectInfo *info);

info :

Returns :


g_object_info_get_interface ()

GIInterfaceInfo *   g_object_info_get_interface         (GIObjectInfo *info,
                                                         gint n);

info :

n :

Returns :


g_object_info_get_n_fields ()

gint                g_object_info_get_n_fields          (GIObjectInfo *info);

info :

Returns :


g_object_info_get_field ()

GIFieldInfo *       g_object_info_get_field             (GIObjectInfo *info,
                                                         gint n);

info :

n :

Returns :


g_object_info_get_n_properties ()

gint                g_object_info_get_n_properties      (GIObjectInfo *info);

info :

Returns :


g_object_info_get_property ()

GIPropertyInfo *    g_object_info_get_property          (GIObjectInfo *info,
                                                         gint n);

info :

n :

Returns :


g_object_info_get_n_methods ()

gint                g_object_info_get_n_methods         (GIObjectInfo *info);

info :

Returns :


g_object_info_get_method ()

GIFunctionInfo *    g_object_info_get_method            (GIObjectInfo *info,
                                                         gint n);

info :

n :

Returns :


g_object_info_find_method ()

GIFunctionInfo *    g_object_info_find_method           (GIObjectInfo *info,
                                                         const gchar *name);

info :

name :

Returns :


g_object_info_get_n_signals ()

gint                g_object_info_get_n_signals         (GIObjectInfo *info);

info :

Returns :


g_object_info_get_signal ()

GISignalInfo *      g_object_info_get_signal            (GIObjectInfo *info,
                                                         gint n);

info :

n :

Returns :


g_object_info_get_n_vfuncs ()

gint                g_object_info_get_n_vfuncs          (GIObjectInfo *info);

info :

Returns :


g_object_info_get_vfunc ()

GIVFuncInfo *       g_object_info_get_vfunc             (GIObjectInfo *info,
                                                         gint n);

info :

n :

Returns :


g_object_info_get_n_constants ()

gint                g_object_info_get_n_constants       (GIObjectInfo *info);

info :

Returns :


g_object_info_get_constant ()

GIConstantInfo *    g_object_info_get_constant          (GIObjectInfo *info,
                                                         gint n);

info :

n :

Returns :


g_object_info_get_class_struct ()

GIStructInfo *      g_object_info_get_class_struct      (GIObjectInfo *info);

Every GObject has two structures; an instance structure and a class structure. This function returns the metadata for the class structure.

info :

a GIObjectInfo

Returns :

the GIStructInfo or NULL. Free with g_base_info_unref() when done. [transfer full]

g_object_info_find_vfunc ()

GIVFuncInfo *       g_object_info_find_vfunc            (GIObjectInfo *info,
                                                         const gchar *name);

Locate a virtual function slot with name name. Note that the namespace for virtuals is distinct from that of methods; there may or may not be a concrete method associated for a virtual. If there is one, it may be retrieved using g_vfunc_info_get_invoker(), otherwise NULL will be returned. See the documentation for g_vfunc_info_get_invoker() for more information on invoking virtuals.

info :

a GIObjectInfo

name :

The name of a virtual function to find.

Returns :

the GIVFuncInfo, or NULL. Free it with g_base_info_unref() when done. [transfer full]