ObjectInfo
Object Hierarchy:
Description:
[ CCode ( type_id = "g_base_info_gtype_get_type ()" ) ]
[ Compact ]
public class ObjectInfo : BaseInfo
[ Compact ]
public class ObjectInfo : BaseInfo
Represents an object.
Namespace: GI
Package: gobject-introspection-1.0
Content:
Methods:
- public FunctionInfo? find_method (string name)
Obtain a method of the object type given a
name
. - public FunctionInfo? find_method_using_interfaces (string name, out ObjectInfo implementor)
Obtain a method of the object given a
name
, searching both the objectinfo
and any interfaces it implements. - public SignalInfo? find_signal (string name)
TODO
- public VFuncInfo? find_vfunc (string name)
Locate a virtual function slot with name
name
. - public VFuncInfo? find_vfunc_using_interfaces (string name, out ObjectInfo implementor)
Locate a virtual function slot with name
name
, searching both the objectinfo
and any interfaces it implements. - public bool get_abstract ()
Obtain if the object type is an abstract type, eg if it cannot be instantiated
- public StructInfo? get_class_struct ()
Every Object has two structures; an instance structure and a class structure.
- public ConstantInfo get_constant (int n)
Obtain an object type constant at index
n
. - public FieldInfo get_field (int n)
Obtain an object type field at index
n
. - public bool get_final ()
Checks whether the object type is a final type, i.e. if it cannot be derived
- public bool get_fundamental ()
Obtain if the object type is of a fundamental type which is not G_TYPE_OBJECT.
- public unowned string? get_get_value_function ()
Obtain the symbol name of the function that should be called to convert an object instance pointer of this object type to a GValue.
- public unowned ObjectInfoGetValueFunction? get_get_value_function_pointer ()
Obtain a pointer to a function which can be used to extract an instance of this object type out of a GValue.
- public InterfaceInfo get_interface (int n)
Obtain an object type interface at index
n
. - public FunctionInfo get_method (int n)
Obtain an object type method at index
n
. - public int get_n_constants ()
Obtain the number of constants that this object type has.
- public int get_n_fields ()
Obtain the number of fields that this object type has.
- public int get_n_interfaces ()
Obtain the number of interfaces that this object type has.
- public int get_n_methods ()
Obtain the number of methods that this object type has.
- public int get_n_properties ()
Obtain the number of properties that this object type has.
- public int get_n_signals ()
Obtain the number of signals that this object type has.
- public int get_n_vfuncs ()
Obtain the number of virtual functions that this object type has.
- public ObjectInfo? get_parent ()
Obtain the parent of the object type.
- public PropertyInfo get_property (int n)
Obtain an object type property at index
n
. - public unowned string? get_ref_function ()
Obtain the symbol name of the function that should be called to ref this object type.
- public unowned ObjectInfoRefFunction? get_ref_function_pointer ()
Obtain a pointer to a function which can be used to increase the reference count an instance of this object type.
- public unowned string? get_set_value_function ()
Obtain the symbol name of the function that should be called to convert set a GValue giving an object instance pointer of this object type.
- public unowned ObjectInfoSetValueFunction? get_set_value_function_pointer ()
Obtain a pointer to a function which can be used to set a GValue given an instance of this object type.
- public SignalInfo get_signal (int n)
Obtain an object type signal at index
n
. - public unowned string get_type_init ()
Obtain the function which when called will return the GType function for which this object type is registered.
- public unowned string get_type_name ()
Obtain the name of the objects class/type.
- public unowned string? get_unref_function ()
Obtain the symbol name of the function that should be called to unref this object type.
- public unowned ObjectInfoUnrefFunction? get_unref_function_pointer ()
Obtain a pointer to a function which can be used to decrease the reference count an instance of this object type.
- public VFuncInfo get_vfunc (int n)
Obtain an object type virtual function at index
n
.
Inherited Members:
All known members inherited from class GI.BaseInfo