Import line: | GIRepository = imports.gi.GIRepository; |
GIR File: | GIRepository-2.0.gir |
C documentation: | GIRepository |
Struct : | BaseInfo |
None |
Method / Constructor | Defined By | |
---|---|---|
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.BaseInfo | |
GIRepository.BaseInfo | ||
get_container
()
:
GIRepository.BaseInfo
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.BaseInfo | |
get_name
()
:
String
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.BaseInfo | |
get_namespace
()
:
String
Obtain the namespace of info.
Obtain the namespace of info.
|
GIRepository.BaseInfo | |
get_typelib
()
:
GIRepository.Typelib
Obtain the typelib this info belongs to
Obtain the typelib this info belongs to
|
GIRepository.BaseInfo | |
is_deprecated
()
:
gboolean
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.BaseInfo | |
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. void print_attributes (GIBaseInfo *info) { GIAttributeIter iter = { 0, }; char *name; char *value; while (g_base_info_iterate_attributes (info, &iter, &name, &value)) { } }
|
GIRepository.BaseInfo |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GIRepository
Method |
Obtain the index of the user data argument.
|
GIRepository
Method |
Obtains the index of the GDestroyNotify argument.
|
GIRepository
Method |
Obtain the direction of the argument.
|
GIRepository
Method |
Obtain the ownership transfer for this argument.
|
GIRepository
Method |
Obtain the scope type for this argument.
|
GIRepository
Method |
Obtain the type information for info.
|
GIRepository
Method |
Obtain if the argument is a pointer to a struct or object that will
receive an output of a function. |
GIRepository
Method |
Obtain if the argument is optional.
|
GIRepository
Method |
Obtain if the argument is a return value.
|
GIRepository
Method |
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. |
GIRepository
Method |
Obtain if the argument accepts NULL.
|
GIRepository
Method |
Obtain the info type of the GIBaseInfo.
|
GIRepository
Method |
Obtain information about a particular argument of this callable.
|
GIRepository
Method |
See whether the caller owns the return value of this callable.
|
GIRepository
Method |
Obtain the number of arguments (both IN and OUT) for this callable.
|
GIRepository
Method |
Retrieve an arbitrary attribute associated with the return value.
|
GIRepository
Method |
Obtain the return type of a callable item as a GITypeInfo.
|
GIRepository
Method |
GIRepository.callable_info_iterate_return_attributes
(BaseInfo info, AttributeIter iterator, Object out_values)
:
gboolean
Iterate over all attributes associated with the return value.
|
GIRepository
Method |
Obtain information about a particular argument of this callable; this
function is a variant of g_callable_info_get_arg() designed for stack allocation. |
GIRepository
Method |
Obtain information about a return value of callable; this
function is a variant of g_callable_info_get_return_type() designed for stack allocation. |
GIRepository
Method |
See if a callable could return NULL.
|
GIRepository
Method |
Obtain the type of the constant as a GITypeInfo.
|
GIRepository
Method |
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
Method |
|
GIRepository
Method |
Obtain the tag of the type used for the enum in the C ABI.
|
GIRepository
Method |
Obtain a value for this enumeration.
|
GIRepository
Method |
Obtain the enum containing all the error codes for this error domain.
|
GIRepository
Method |
Obtain a string representing the quark for this error domain.
|
GIRepository
Method |
Obtain the flags for this GIFieldInfo.
|
GIRepository
Method |
Obtain the offset in bits of the field member, this is relative
to the beginning of the struct or union. |
GIRepository
Method |
Obtain the size in bits of the field member, this is how
much space you need to allocate to store the field. |
GIRepository
Method |
Obtain the type of a field as a GITypeInfo.
|
GIRepository
Method |
Obtain the GIFunctionInfoFlags for the info.
|
GIRepository
Method |
Obtain the property associated with this GIFunctionInfo.
|
GIRepository
Method |
Obtain the symbol of the function.
|
GIRepository
Method |
Obtain the virtual function associated with this GIFunctionInfo.
|
GIRepository
Method |
GIRepository.info_new
(InfoType type, BaseInfo container, Typelib typelib, guint32 offset)
:
GIRepository.BaseInfo
|
GIRepository
Method |
Obtain a method of the interface type given a name.
|
GIRepository
Method |
Locate a virtual function slot with name name.
|
GIRepository
Method |
Obtain an interface type constant at index n.
|
GIRepository
Method |
Returns the layout C structure associated with this GInterface.
|
GIRepository
Method |
Obtain an interface type method at index n.
|
GIRepository
Method |
Obtain the number of constants that this interface type has.
|
GIRepository
Method |
Obtain the number of methods that this interface type has.
|
GIRepository
Method |
Obtain the number of prerequisites for this interface type.
|
GIRepository
Method |
Obtain the number of properties that this interface type has.
|
GIRepository
Method |
Obtain the number of signals that this interface type has.
|
GIRepository
Method |
Obtain the number of virtual functions that this interface type has.
|
GIRepository
Method |
Obtain an interface type prerequisites index n.
|
GIRepository
Method |
Obtain an interface type property at index n.
|
GIRepository
Method |
Obtain an interface type signal at index n.
|
GIRepository
Method |
Obtain an interface type virtual function at index n.
|
GIRepository
Method |
Obtain a method of the object type given a name.
|
GIRepository
Method |
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. |
GIRepository
Method |
Locate a virtual function slot with name name.
|
GIRepository
Method |
Obtain if the object type is an abstract type, eg if it cannot be
instantiated |
GIRepository
Method |
Every GObject has two structures; an instance structure and a class
structure. |
GIRepository
Method |
Obtain an object type constant at index n.
|
GIRepository
Method |
Obtain an object type field at index n.
|
GIRepository
Method |
Obtain if the object type is of a fundamental type which is not
G_TYPE_OBJECT. |
GIRepository
Method |
Obtain the symbol name of the function that should be called to convert
an object instance pointer of this object type to a GValue. |
GIRepository
Method |
Obtain an object type interface at index n.
|
GIRepository
Method |
Obtain an object type method at index n.
|
GIRepository
Method |
Obtain the number of constants that this object type has.
|
GIRepository
Method |
Obtain the number of fields that this object type has.
|
GIRepository
Method |
Obtain the number of interfaces that this object type has.
|
GIRepository
Method |
Obtain the number of methods that this object type has.
|
GIRepository
Method |
Obtain the number of properties that this object type has.
|
GIRepository
Method |
Obtain the number of signals that this object type has.
|
GIRepository
Method |
Obtain the number of virtual functions that this object type has.
|
GIRepository
Method |
Obtain the parent of the object type.
|
GIRepository
Method |
Obtain an object type property at index n.
|
GIRepository
Method |
Obtain the symbol name of the function that should be called to ref this
object type. |
GIRepository
Method |
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. |
GIRepository
Method |
Obtain an object type signal at index n.
|
GIRepository
Method |
Obtain the function which when called will return the GType
function for which this object type is registered. |
GIRepository
Method |
Obtain the name of the objects class/type.
|
GIRepository
Method |
Obtain the symbol name of the function that should be called to unref this
object type. |
GIRepository
Method |
Obtain an object type virtual function at index n.
|
GIRepository
Method |
Obtain the flags for this property info.
|
GIRepository
Method |
Obtain the ownership transfer for this property.
|
GIRepository
Method |
Obtain the type information for the property info.
|
GIRepository
Method |
Obtain the GType for this registered type or G_TYPE_NONE which a special meaning.
|
GIRepository
Method |
Obtain the type init function for info.
|
GIRepository
Method |
Obtain the type name of the struct within the GObject type system.
|
GIRepository
Method |
Obtain the class closure for this signal if one is set.
|
GIRepository
Method |
Obtain the flags for this signal info.
|
GIRepository
Method |
Obtain if the returning true in the signal handler will
stop the emission of the signal. |
GIRepository
Method |
Obtain the type information for method named name.
|
GIRepository
Method |
Obtain the required alignment of the structure.
|
GIRepository
Method |
Obtain the type information for field with specified index.
|
GIRepository
Method |
Obtain the type information for method with specified index.
|
GIRepository
Method |
Obtain the number of fields this structure has.
|
GIRepository
Method |
Obtain the number of methods this structure has.
|
GIRepository
Method |
Obtain the total size of the structure.
|
GIRepository
Method |
|
GIRepository
Method |
Return true if this structure represents the "class structure" for some
GObject or GInterface. |
GIRepository
Method |
Obtain the fixed array size of the type.
|
GIRepository
Method |
Obtain the array length of the type.
|
GIRepository
Method |
Obtain the array type for this type.
|
GIRepository
Method |
Obtain the error domains at index n for this type.
|
GIRepository
Method |
For types which have GI_TYPE_TAG_INTERFACE such as GObjects and boxed values,
this function returns full information about the referenced type. |
GIRepository
Method |
Obtain the number of error domains for this type.
|
GIRepository
Method |
Obtain the parameter type n.
|
GIRepository
Method |
Obtain the type tag for the type.
|
GIRepository
Method |
Obtain if the type is passed as a reference.
|
GIRepository
Method |
Obtain if the last element of the array is NULL.
|
GIRepository
Method |
Obtain the type information for method named name.
|
GIRepository
Method |
Obtain the required alignment of the union.
|
GIRepository
Method |
Obtain discriminator value assigned for n-th union field, i.e.
|
GIRepository
Method |
|
GIRepository
Method |
Obtain the type information of the union discriminator.
|
GIRepository
Method |
Obtain the type information for field with specified index.
|
GIRepository
Method |
Obtain the type information for method with specified index.
|
GIRepository
Method |
Obtain the number of fields this union has.
|
GIRepository
Method |
Obtain the number of methods this union has.
|
GIRepository
Method |
Obtain the total size of the union.
|
GIRepository
Method |
Return true if this union contains discriminator field.
|
GIRepository
Method |
Obtain the enumeration value of the GIValueInfo.
|
GIRepository
Method |
Obtain the flags for this virtual function info.
|
GIRepository
Method |
If this virtual function has an associated invoker method, this
method will return it. |
GIRepository
Method |
Obtain the offset of the function pointer in the class struct.
|
GIRepository
Method |
Obtain the signal for the virtual function if one is set.
|
GIRepository.Repository
Method |
find_by_gtype
(Number gtype)
:
GIRepository.BaseInfo
Searches all loaded namespaces for a particular GType.
|
GIRepository.Repository
Method |
Searches for a particular entry in a namespace.
|
GIRepository.Repository
Method |
This function returns a particular metadata entry in the
given namespace namespace_. |