Import line: | GIRepository = imports.gi.GIRepository; |
GIR File: | GIRepository-2.0.gir |
C documentation: | GIRepository |
Namespace : | GIRepository |
None |
Method / Constructor | Defined By | |
---|---|---|
Obtain the index of the user data argument.
Obtain the index of the user data argument. This is only valid
for arguments which are callbacks.
|
GIRepository | |
Obtains the index of the GDestroyNotify argument.
Obtains the index of the GDestroyNotify argument. This is only valid
for arguments which are callbacks.
|
GIRepository | |
Obtain the direction of the argument.
Obtain the direction of the argument. Check GIDirection for possible
direction values.
|
GIRepository | |
Obtain the ownership transfer for this argument.
Obtain the ownership transfer for this argument.
GITransfer contains a list of possible values.
|
GIRepository | |
Obtain the scope type for this argument.
Obtain the scope type for this argument. The scope type explains
how a callback is going to be invoked, most importantly when the resources required to invoke it can be freed. GIScopeType contains a list of possible values.
|
GIRepository | |
Obtain the type information for info.
Obtain the type information for info.
g_base_info_unref() when done.
|
GIRepository | |
Obtain if the argument is a pointer to a struct or object that will
receive an output of a function.
Obtain if the argument is a pointer to a struct or object that will
receive an output of a function. The default assumption for GI_DIRECTION_OUT arguments which have allocation is that the callee allocates; if this is TRUE, then the caller must allocate.
|
GIRepository | |
Obtain if the argument is optional.
Obtain if the argument is optional.
|
GIRepository | |
Obtain if the argument is a return value.
Obtain if the argument is a return value. It can either be a
parameter or a return value.
|
GIRepository | |
Obtain information about a the type of given argument info; this
function is a variant of g_arg_info_get_type() designed for stack allocation.
Obtain information about a the type of given argument info; this
function is a variant of g_arg_info_get_type() designed for stack allocation. The initialized type must not be referenced after info is deallocated.
|
GIRepository | |
Obtain if the argument accepts NULL.
Obtain if the argument accepts NULL.
|
GIRepository | |
Obtain the info type of the GIBaseInfo.
Obtain the info type of the GIBaseInfo.
|
GIRepository | |
Obtain information about a particular argument of this callable.
Obtain information about a particular argument of this callable.
g_base_info_unref() when done.
|
GIRepository | |
See whether the caller owns the return value of this callable.
See whether the caller owns the return value of this callable.
GITransfer contains a list of possible transfer values.
|
GIRepository | |
Obtain the number of arguments (both IN and OUT) for this callable.
Obtain the number of arguments (both IN and OUT) for this callable.
|
GIRepository | |
Retrieve an arbitrary attribute associated with the return value.
Retrieve an arbitrary attribute associated with the return value.
|
GIRepository | |
Obtain the return type of a callable item as a GITypeInfo.
Obtain the return type of a callable item as a GITypeInfo.
g_base_info_unref() when done.
|
GIRepository | |
GIRepository.callable_info_iterate_return_attributes
(BaseInfo info, AttributeIter iterator, Object out_values)
:
gboolean
Iterate over all attributes associated with the return value.
Iterate over all attributes associated with the return value. The
iterator structure is typically stack allocated, and must have its first member initialized to NULL. Both the name and value should be treated as constants and must not be freed. See g_base_info_iterate_attributes() for an example of how to use a similar API.
|
GIRepository | |
Obtain information about a particular argument of this callable; this
function is a variant of g_callable_info_get_arg() designed for stack allocation.
Obtain information about a particular argument of this callable; this
function is a variant of g_callable_info_get_arg() designed for stack allocation. The initialized arg must not be referenced after info is deallocated.
|
GIRepository | |
Obtain information about a return value of callable; this
function is a variant of g_callable_info_get_return_type() designed for stack allocation.
Obtain information about a return value of callable; this
function is a variant of g_callable_info_get_return_type() designed for stack allocation. The initialized type must not be referenced after info is deallocated.
|
GIRepository | |
See if a callable could return NULL.
See if a callable could return NULL.
|
GIRepository | |
Obtain the type of the constant as a GITypeInfo.
Obtain the type of the constant as a GITypeInfo.
g_base_info_unref() when done.
|
GIRepository | |
Obtain the value associated with the GIConstantInfo and store it in the
The size of the constant value stored in argument will be returned.
Obtain the value associated with the GIConstantInfo and store it in the
The size of the constant value stored in argument will be returned.
|
GIRepository | |
|
GIRepository | |
Obtain the tag of the type used for the enum in the C ABI.
Obtain the tag of the type used for the enum in the C ABI. This will
will be a signed or unsigned integral type. Note that in the current implementation the width of the type is computed correctly, but the signed or unsigned nature of the type may not match the sign of the type used by the C compiler.
|
GIRepository | |
Obtain a value for this enumeration.
Obtain a value for this enumeration.
free the struct with g_base_info_unref() when done.
|
GIRepository | |
Obtain the enum containing all the error codes for this error domain.
Obtain the enum containing all the error codes for this error domain.
The return value will have a GIInfoType of GI_INFO_TYPE_ERROR_DOMAIN free the struct with g_base_info_unref() when done.
|
GIRepository | |
Obtain a string representing the quark for this error domain.
Obtain a string representing the quark for this error domain.
NULL will be returned if the type tag is wrong or if a quark is missing in the typelib.
|
GIRepository | |
Obtain the flags for this GIFieldInfo.
Obtain the flags for this GIFieldInfo. See GIFieldInfoFlags for possible
flag values.
|
GIRepository | |
Obtain the offset in bits of the field member, this is relative
to the beginning of the struct or union.
Obtain the offset in bits of the field member, this is relative
to the beginning of the struct or union.
|
GIRepository | |
Obtain the size in bits of the field member, this is how
much space you need to allocate to store the field.
Obtain the size in bits of the field member, this is how
much space you need to allocate to store the field.
|
GIRepository | |
Obtain the type of a field as a GITypeInfo.
Obtain the type of a field as a GITypeInfo.
g_base_info_unref() when done.
|
GIRepository | |
Obtain the GIFunctionInfoFlags for the info.
Obtain the GIFunctionInfoFlags for the info.
|
GIRepository | |
Obtain the property associated with this GIFunctionInfo.
Obtain the property associated with this GIFunctionInfo.
Only GIFunctionInfo with the flag GI_FUNCTION_IS_GETTER or GI_FUNCTION_IS_SETTER have a property set. For other cases, NULL will be returned. g_base_info_unref() when done.
|
GIRepository | |
Obtain the symbol of the function.
Obtain the symbol of the function. The symbol is the name of the
exported function, suitable to be used as an argument to g_module_symbol().
|
GIRepository | |
Obtain the virtual function associated with this GIFunctionInfo.
Obtain the virtual function associated with this GIFunctionInfo.
Only GIFunctionInfo with the flag GI_FUNCTION_WRAPS_VFUNC has a virtual function set. For other cases, NULL will be returned. Free it by calling g_base_info_unref() when done.
|
GIRepository | |
GIRepository.info_new
(InfoType type, BaseInfo container, Typelib typelib, guint32 offset)
:
GIRepository.BaseInfo
|
GIRepository | |
Obtain a string representation of type
Obtain a string representation of type
|
GIRepository | |
Obtain a method of the interface type given a name.
Obtain a method of the interface type given a name. NULL will be
returned if there's no method available with that name. Free the struct by calling g_base_info_unref() when done.
|
GIRepository | |
Locate a virtual function slot with name name.
Locate a virtual function slot with name name. See the documentation
for g_object_info_find_vfunc() for more information on virtuals. g_base_info_unref() when done.
|
GIRepository | |
Obtain an interface type constant at index n.
Obtain an interface type constant at index n.
g_base_info_unref() when done.
|
GIRepository | |
Returns the layout C structure associated with this GInterface.
Returns the layout C structure associated with this GInterface.
g_base_info_unref() when done.
|
GIRepository | |
Obtain an interface type method at index n.
Obtain an interface type method at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain the number of constants that this interface type has.
Obtain the number of constants that this interface type has.
|
GIRepository | |
Obtain the number of methods that this interface type has.
Obtain the number of methods that this interface type has.
|
GIRepository | |
Obtain the number of prerequisites for this interface type.
Obtain the number of prerequisites for this interface type.
A prerequisites is another interface that needs to be implemented for interface, similar to an base class for GObjects.
|
GIRepository | |
Obtain the number of properties that this interface type has.
Obtain the number of properties that this interface type has.
|
GIRepository | |
Obtain the number of signals that this interface type has.
Obtain the number of signals that this interface type has.
|
GIRepository | |
Obtain the number of virtual functions that this interface type has.
Obtain the number of virtual functions that this interface type has.
|
GIRepository | |
Obtain an interface type prerequisites index n.
Obtain an interface type prerequisites index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain an interface type property at index n.
Obtain an interface type property at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain an interface type signal at index n.
Obtain an interface type signal at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain an interface type virtual function at index n.
Obtain an interface type virtual function at index n.
g_base_info_unref() when done.
|
GIRepository | |
GIRepository.invoke_error_quark
()
:
guint32
|
GIRepository | |
Obtain a method of the object type given a name.
Obtain a method of the object type given a name. NULL will be
returned if there's no method available with that name. g_base_info_unref() when done.
|
GIRepository | |
GIRepository.object_info_find_method_using_interfaces
(BaseInfo info, String name, Object out_values)
:
GIRepository.BaseInfo
Obtain a method of the object given a name, searching both the
object info and any interfaces it implements.
Obtain a method of the object given a name, searching both the
object info and any interfaces it implements. NULL will be returned if there's no method available with that name. Note that this function does *not* search parent classes; you will have to chain up if that's desired. g_base_info_unref() when done.
|
GIRepository | |
Locate a virtual function slot with name 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. g_base_info_unref() when done.
|
GIRepository | |
Obtain if the object type is an abstract type, eg if it cannot be
instantiated
Obtain if the object type is an abstract type, eg if it cannot be
instantiated
|
GIRepository | |
Every GObject has two structures; an instance structure and a class
structure.
Every GObject has two structures; an instance structure and a class
structure. This function returns the metadata for the class structure. g_base_info_unref() when done.
|
GIRepository | |
Obtain an object type constant at index n.
Obtain an object type constant at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain an object type field at index n.
Obtain an object type field at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain if the object type is of a fundamental type which is not
G_TYPE_OBJECT.
Obtain if the object type is of a fundamental type which is not
G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.
|
GIRepository | |
Obtain the symbol name of the function that should be called to convert
an object instance pointer of this object type to a GValue.
Obtain the symbol name of the function that should be called to convert
an object instance pointer of this object type to a GValue. I's mainly used fundamental types. The type signature for the symbol is GIObjectInfoGetValueFunction, to fetch the function pointer see g_object_info_get_get_value_function().
|
GIRepository | |
Obtain an object type interface at index n.
Obtain an object type interface at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain an object type method at index n.
Obtain an object type method at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain the number of constants that this object type has.
Obtain the number of constants that this object type has.
|
GIRepository | |
Obtain the number of fields that this object type has.
Obtain the number of fields that this object type has.
|
GIRepository | |
Obtain the number of interfaces that this object type has.
Obtain the number of interfaces that this object type has.
|
GIRepository | |
Obtain the number of methods that this object type has.
Obtain the number of methods that this object type has.
|
GIRepository | |
Obtain the number of properties that this object type has.
Obtain the number of properties that this object type has.
|
GIRepository | |
Obtain the number of signals that this object type has.
Obtain the number of signals that this object type has.
|
GIRepository | |
Obtain the number of virtual functions that this object type has.
Obtain the number of virtual functions that this object type has.
|
GIRepository | |
Obtain the parent of the object type.
Obtain the parent of the object type.
g_base_info_unref() when done.
|
GIRepository | |
Obtain an object type property at index n.
Obtain an object type property at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain the symbol name of the function that should be called to ref this
object type.
Obtain the symbol name of the function that should be called to ref this
object type. It's mainly used fundamental types. The type signature for the symbol is GIObjectInfoRefFunction, to fetch the function pointer see g_object_info_get_ref_function().
|
GIRepository | |
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.
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. I's mainly used fundamental types. The type signature for the symbol is GIObjectInfoSetValueFunction, to fetch the function pointer see g_object_info_get_set_value_function().
|
GIRepository | |
Obtain an object type signal at index n.
Obtain an object type signal at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain the function which when called will return the GType
function for which this object type is registered.
Obtain the function which when called will return the GType
function for which this object type is registered.
|
GIRepository | |
Obtain the name of the objects class/type.
Obtain the name of the objects class/type.
|
GIRepository | |
Obtain the symbol name of the function that should be called to unref this
object type.
Obtain the symbol name of the function that should be called to unref this
object type. It's mainly used fundamental types. The type signature for the symbol is GIObjectInfoUnrefFunction, to fetch the function pointer see g_object_info_get_unref_function().
|
GIRepository | |
Obtain an object type virtual function at index n.
Obtain an object type virtual function at index n.
g_base_info_unref() when done.
|
GIRepository | |
Obtain the flags for this property info.
Obtain the flags for this property info. See GParamFags for
more information about possible flag values.
|
GIRepository | |
Obtain the ownership transfer for this property.
Obtain the ownership transfer for this property. See GITransfer for more
information about transfer values.
|
GIRepository | |
Obtain the type information for the property info.
Obtain the type information for the property info.
g_base_info_unref() when done.
|
GIRepository | |
Obtain the GType for this registered type or G_TYPE_NONE which a special meaning.
Obtain the GType for this registered type or G_TYPE_NONE which a special meaning.
It means that either there is no type information associated with this info or that the shared library which provides the type_init function for this
|
GIRepository | |
Obtain the type init function for info.
Obtain the type init function for info. The type init function is the
function which will register the GType within the GObject type system. Usually this is not called by langauge bindings or applications, use g_registered_type_info_get_g_type() directly instead. passing into g_module_symbol().
|
GIRepository | |
Obtain the type name of the struct within the GObject type system.
Obtain the type name of the struct within the GObject type system.
This type can be passed to g_type_name() to get a GType.
|
GIRepository | |
Obtain the class closure for this signal if one is set.
Obtain the class closure for this signal if one is set. The class
closure is a virtual function on the type that the signal belongs to. If the signal lacks a closure NULL will be returned.
|
GIRepository | |
Obtain the flags for this signal info.
Obtain the flags for this signal info. See GSignalFlags for
more information about possible flag values.
|
GIRepository | |
Obtain if the returning true in the signal handler will
stop the emission of the signal.
Obtain if the returning true in the signal handler will
stop the emission of the signal.
|
GIRepository | |
Obtain the type information for method named name.
Obtain the type information for method named name.
when done.
|
GIRepository | |
Obtain the required alignment of the structure.
Obtain the required alignment of the structure.
|
GIRepository | |
Obtain the type information for field with specified index.
Obtain the type information for field with specified index.
when done.
|
GIRepository | |
Obtain the type information for method with specified index.
Obtain the type information for method with specified index.
when done.
|
GIRepository | |
Obtain the number of fields this structure has.
Obtain the number of fields this structure has.
|
GIRepository | |
Obtain the number of methods this structure has.
Obtain the number of methods this structure has.
|
GIRepository | |
Obtain the total size of the structure.
Obtain the total size of the structure.
|
GIRepository | |
|
GIRepository | |
Return true if this structure represents the "class structure" for some
GObject or GInterface.
Return true if this structure represents the "class structure" for some
GObject or GInterface. This function is mainly useful to hide this kind of structure from generated public APIs.
|
GIRepository | |
Obtain the fixed array size of the type.
Obtain the fixed array size of the type. The type tag must be a
GI_TYPE_TAG_ARRAY or -1 will returned.
|
GIRepository | |
Obtain the array length of the type.
Obtain the array length of the type. The type tag must be a
GI_TYPE_TAG_ARRAY or -1 will returned.
|
GIRepository | |
Obtain the array type for this type.
Obtain the array type for this type. See GIArrayType for a list of
possible values. If the type tag of this type is not array, -1 will be returned.
|
GIRepository | |
Obtain the error domains at index n for this type.
Obtain the error domains at index n for this type. The type tag
must be a GI_TYPE_TAG_ERROR or -1 will be returned. free the struct with g_base_info_unref() when done.
|
GIRepository | |
For types which have GI_TYPE_TAG_INTERFACE such as GObjects and boxed values,
this function returns full information about the referenced type.
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.
|
GIRepository | |
Obtain the number of error domains for this type.
Obtain the number of error domains for this type. The type tag
must be a GI_TYPE_TAG_ERROR or -1 will be returned.
|
GIRepository | |
Obtain the parameter type n.
Obtain the parameter type n.
|
GIRepository | |
Obtain the type tag for the type.
Obtain the type tag for the type. See GITypeTag for a list
of type tags.
|
GIRepository | |
Obtain if the type is passed as a reference.
Obtain if the type is passed as a reference.
|
GIRepository | |
Obtain if the last element of the array is NULL.
Obtain if the last element of the array is NULL. The type tag must be a
GI_TYPE_TAG_ARRAY or FALSE will returned.
|
GIRepository | |
Obtain a string representation of type
Obtain a string representation of type
|
GIRepository | |
Obtain the type information for method named name.
Obtain the type information for method named name.
when done.
|
GIRepository | |
Obtain the required alignment of the union.
Obtain the required alignment of the union.
|
GIRepository | |
Obtain discriminator value assigned for n-th union field, i.e.
Obtain discriminator value assigned for n-th union field, i.e. n-th
union field is the active one if discriminator contains this constant. when done.
|
GIRepository | |
|
GIRepository | |
Obtain the type information of the union discriminator.
Obtain the type information of the union discriminator.
when done.
|
GIRepository | |
Obtain the type information for field with specified index.
Obtain the type information for field with specified index.
when done.
|
GIRepository | |
Obtain the type information for method with specified index.
Obtain the type information for method with specified index.
when done.
|
GIRepository | |
Obtain the number of fields this union has.
Obtain the number of fields this union has.
|
GIRepository | |
Obtain the number of methods this union has.
Obtain the number of methods this union has.
|
GIRepository | |
Obtain the total size of the union.
Obtain the total size of the union.
|
GIRepository | |
Return true if this union contains discriminator field.
Return true if this union contains discriminator field.
|
GIRepository | |
Obtain the enumeration value of the GIValueInfo.
Obtain the enumeration value of the GIValueInfo.
as a 32-bit signed or unsigned value. The use of gint64 as the return type is to allow both.
|
GIRepository | |
Obtain the flags for this virtual function info.
Obtain the flags for this virtual function info. See GIVFuncInfoFlags for
more information about possible flag values.
|
GIRepository | |
If this virtual function has an associated invoker method, this
method will return it.
If this virtual function has an associated invoker method, this
method will return it. An invoker method is a C entry point. Not all virtuals will have invokers. g_base_info_unref() when done.
|
GIRepository | |
Obtain the offset of the function pointer in the class struct.
Obtain the offset of the function pointer in the class struct. The value
0xFFFF indicates that the struct offset is unknown.
|
GIRepository | |
Obtain the signal for the virtual function if one is set.
Obtain the signal for the virtual function if one is set.
The signal comes from the object or interface to which this virtual function belongs.
|
GIRepository |
None |