GI – gobject-introspection-1.0 Reference Manual
Packages
gobject-introspection-1.0
GI
ArrayType
Direction
FieldInfoFlags
FunctionInfoFlags
InfoType
RepositoryLoadFlags
ScopeType
Transfer
TypeTag
VFuncInfoFlags
ArgInfo
BaseInfo
CallableInfo
CallbackInfo
ConstantInfo
EnumInfo
FieldInfo
FunctionInfo
InterfaceInfo
ObjectInfo
PropertyInfo
RegisteredTypeInfo
Repository
SignalInfo
StructInfo
TypeInfo
Typelib
UnionInfo
UnresolvedInfo
VFuncInfo
ValueInfo
Argument
AttributeIter
MAJOR_VERSION
MICRO_VERSION
MINOR_VERSION
TYPE_TAG_N_TYPES
ObjectInfoGetValueFunction
ObjectInfoRefFunction
ObjectInfoSetValueFunction
ObjectInfoUnrefFunction
get_major_version
get_micro_version
get_minor_version
type_tag_argument_from_hash_pointer
type_tag_hash_pointer_from_argument
GI
Description:
Content:
Classes:
ArgInfo
-
`GIArgInfo` represents an argument of a callable.
BaseInfo
-
`GIBaseInfo` is the common base struct of all other Info structs accessible through the [class@GIRepository.
CallableInfo
-
`GICallableInfo` represents an entity which is callable.
CallbackInfo
-
`GICallbackInfo` represents a callback.
ConstantInfo
-
`GIConstantInfo` represents a constant.
EnumInfo
-
A `GIEnumInfo` represents an enumeration.
FieldInfo
-
A `GIFieldInfo` struct represents a field of a struct, union, or object.
FunctionInfo
-
`GIFunctionInfo` represents a function, method or constructor.
InterfaceInfo
-
`GIInterfaceInfo` represents a `GInterface` type.
ObjectInfo
-
`GIObjectInfo` represents a classed type.
PropertyInfo
-
`GIPropertyInfo` represents a property in a [class@GObject.
RegisteredTypeInfo
-
`GIRegisteredTypeInfo` represents an entity with a [type@GObject.
Repository
-
`GIRepository` is used to manage repositories of namespaces.
SignalInfo
-
`GISignalInfo` represents a signal.
StructInfo
-
`GIStructInfo` represents a generic C structure type.
TypeInfo
-
`GITypeInfo` represents a type, including information about direction and transfer.
Typelib
-
`GITypelib` represents a loaded `.
UnionInfo
-
`GIUnionInfo` represents a union type.
UnresolvedInfo
-
`GIUnresolvedInfo` represents an unresolved symbol.
VFuncInfo
-
`GIVFuncInfo` represents a virtual function.
ValueInfo
-
A `GIValueInfo` represents a value in an enumeration.
Structs:
Argument
-
Stores an argument of varying type.
AttributeIter
-
An opaque structure used to iterate over attributes in a [class@GIRepository.
Enums:
ArrayType
-
The type of array in a [class@GIRepository.
Direction
-
The direction of a [class@GIRepository.
FieldInfoFlags
-
Flags for a [class@GIRepository.
FunctionInfoFlags
-
Flags for a [ class@GIRepository.
InfoType
-
The type of a GIBaseInfo struct.
RepositoryLoadFlags
-
Flags that control how a typelib is loaded.
ScopeType
-
Scope type of a [class@GIRepository.
Transfer
-
`GITransfer` specifies who’s responsible for freeing the resources after an ownership transfer is complete.
TypeTag
-
The type tag of a [class@GIRepository.
VFuncInfoFlags
-
Flags of a [class@GIRepository.
Error domains:
InvokeError
-
An error occuring while invoking a function via
invoke
.
RepositoryError
-
An error code used with `GI_REPOSITORY_ERROR` in a [type@GLib.
Constants:
public
const
int
MAJOR_VERSION
The major version number of the girepository library.
public
const
int
MICRO_VERSION
The micro version number of the girepository library.
public
const
int
MINOR_VERSION
The minor version number of the girepository library.
public
const
int
TYPE_TAG_N_TYPES
Number of entries in [enum@GIRepository.
Delegates:
public
delegate
void
*
ObjectInfoGetValueFunction
(
Value
value)
Extract an object instance out of
value
.
public
delegate
void
*
ObjectInfoRefFunction
(
void
* object)
Increases the reference count of an object instance.
public
delegate
void
ObjectInfoSetValueFunction
(
Value
value,
void
* object)
Update
value
and attach the object instance pointer
object
to it.
public
delegate
void
ObjectInfoUnrefFunction
(
void
* object)
Decreases the reference count of an object instance.
Functions:
public
uint
get_major_version
()
Returns the major version number of the girepository library.
public
uint
get_micro_version
()
Returns the micro version number of the girepository library.
public
uint
get_minor_version
()
Returns the minor version number of the girepository library.
public
void
type_tag_argument_from_hash_pointer
(
TypeTag
storage_type,
void
* hash_pointer,
Argument
arg)
Convert a data pointer from a GLib data structure to a [ type@GIRepository.
public
void
*
type_tag_hash_pointer_from_argument
(
TypeTag
storage_type,
Argument
arg)
Convert a [type@GIRepository.