Import line: | GIRepository = imports.gi.GIRepository; |
GIR File: | GIRepository-2.0.gir |
C documentation: | GIRepository |
Namespace : | GIRepository |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number GIRepository.INVALID_REFCOUNT : 2147483647
|
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 | |
Compare two GIBaseInfo.
Compare two GIBaseInfo. Using pointer comparison is not practical since many functions return different instances of GIBaseInfo that refers to the same part of the TypeLib; use this function instead to do GIBaseInfo comparisons.
|
GIRepository | |
Retrieve an arbitrary attribute associated with this node.
Retrieve an arbitrary attribute associated with this node.
|
GIRepository | |
Obtain the container of the info.
Obtain the container of the info. The container is the parent GIBaseInfo. For instance, the parent of a GIFunctionInfo is an GIObjectInfo or GIInterfaceInfo.
|
GIRepository | |
Obtain the name of the info.
Obtain the name of the info. What the name represents depends on the GIInfoType of the info. For instance for GIFunctionInfo it is the name of the function.
|
GIRepository | |
Obtain the namespace of info.
Obtain the namespace of info.
|
GIRepository | |
Obtain the info type of the GIBaseInfo.
Obtain the info type of the GIBaseInfo.
|
GIRepository | |
Obtain the typelib this info belongs to
Obtain the typelib this info belongs to
|
GIRepository | |
Obtain whether the info is represents a metadata which is deprecated or not.
Obtain whether the info is represents a metadata which is deprecated or not.
|
GIRepository | |
GIRepository.base_info_iterate_attributes
(IBaseInfo info, IAttributeIter iterator, Object out_values)
:
Boolean
Iterate over all attributes associated with this node.
Iterate over all attributes associated with this node. 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.
|
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 | |
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 | |
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 | |
Reads a field identified by a GFieldInfo from a C structure or union.
Reads a field identified by a GFieldInfo from a C structure or union. This only handles fields of simple C types. It will fail for a field of a composite type like a nested structure or union even if that is actually readable.
|
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 | |
Writes a field identified by a GFieldInfo to a C structure or union.
Writes a field identified by a GFieldInfo to a C structure or union. This only handles fields of simple C types. It will fail for a field of a composite type like a nested structure or union even if that is actually writable. Note also that that it will refuse to write fields where memory management would by required. A field with a type such as 'char *' must be set with a setter function.
|
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.function_info_invoke
(IBaseInfo info, Argument in_args, Number n_in_args, Argument out_args, Number n_out_args, Argument return_value)
:
Boolean
Invokes the function described in info with the given arguments.
Invokes the function described in info with the given arguments. Note that inout parameters must appear in both argument lists. This function uses dlsym() to obtain a pointer to the function, so the library or shared object containing the described function must either be linked to the caller, or must have been g_module_symbol()ed before calling this function. error occurred.
|
GIRepository | |
GIRepository.gi_cclosure_marshal_generic
(Closure closure, Value return_gvalue, Number n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
:
none
|
GIRepository | |
GIRepository.info_new
(IInfoType type, IBaseInfo container, Typelib typelib, Number offset)
:
GIRepository.IBaseInfo
|
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 | |
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 | |
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 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 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 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.
Obtain the GType for this registered type.
|
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 | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
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 | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
|
GIRepository | |
Obtain the enumeration value of the GIValueInfo.
Obtain the enumeration value of the GIValueInfo.
|
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 |