Back to Seed Clases

GIRepository


Classes

Interfaces

Structs

Unions

Enums

Struct GIRepository.IBaseInfo

Import line: GIRepository = imports.gi.GIRepository;
GIR File: GIRepository-2.0.gir
C documentation: GIRepository
Struct : IBaseInfo
  Show / Hide Inherited methods, properties and signals
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
GIRepository
Method
GIRepository.arg_info_get_closure (IBaseInfo info) : Number
Obtain the index of the user data argument.
GIRepository
Method
GIRepository.arg_info_get_destroy (IBaseInfo info) : Number
Obtains the index of the GDestroyNotify argument.
GIRepository
Method
GIRepository.arg_info_get_direction (IBaseInfo info) : GIRepository.IDirection
Obtain the direction of the argument.
GIRepository
Method
GIRepository.arg_info_get_ownership_transfer (IBaseInfo info) : GIRepository.ITransfer
Obtain the ownership transfer for this argument.
GIRepository
Method
GIRepository.arg_info_get_scope (IBaseInfo info) : GIRepository.IScopeType
Obtain the scope type for this argument.
GIRepository
Method
GIRepository.arg_info_get_type (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the type information for info.
GIRepository
Method
GIRepository.arg_info_is_caller_allocates (IBaseInfo info) : Boolean
Obtain if the argument is a pointer to a struct or object that will receive an output of a function.
GIRepository
Method
GIRepository.arg_info_is_optional (IBaseInfo info) : Boolean
Obtain if the argument is optional.
GIRepository
Method
GIRepository.arg_info_is_return_value (IBaseInfo info) : Boolean
Obtain if the argument is a return value.
GIRepository
Method
GIRepository.arg_info_load_type (IBaseInfo info) : GIRepository.IBaseInfo
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
GIRepository.arg_info_may_be_null (IBaseInfo info) : Boolean
Obtain if the argument accepts NULL.
GIRepository
Method
GIRepository.base_info_equal (IBaseInfo info1, IBaseInfo info2) : Boolean
Compare two GIBaseInfo.
GIRepository
Method
GIRepository.base_info_get_attribute (IBaseInfo info, String name) : String
Retrieve an arbitrary attribute associated with this node.
GIRepository
Method
GIRepository.base_info_get_container (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the container of the info.
GIRepository
Method
GIRepository.base_info_get_name (IBaseInfo info) : String
Obtain the name of the info.
GIRepository
Method
GIRepository.base_info_get_namespace (IBaseInfo info) : String
Obtain the namespace of info.
GIRepository
Method
GIRepository.base_info_get_type (IBaseInfo info) : GIRepository.IInfoType
Obtain the info type of the GIBaseInfo.
GIRepository
Method
GIRepository.base_info_get_typelib (IBaseInfo info) : GIRepository.Typelib
Obtain the typelib this info belongs to
GIRepository
Method
GIRepository.base_info_is_deprecated (IBaseInfo info) : Boolean
Obtain whether the info is represents a metadata which is deprecated or not.
GIRepository
Method
GIRepository.base_info_iterate_attributes (IBaseInfo info, IAttributeIter iterator, Object out_values) : Boolean
Iterate over all attributes associated with this node.
GIRepository
Method
GIRepository.callable_info_get_arg (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain information about a particular argument of this callable.
GIRepository
Method
GIRepository.callable_info_get_caller_owns (IBaseInfo info) : GIRepository.ITransfer
See whether the caller owns the return value of this callable.
GIRepository
Method
GIRepository.callable_info_get_n_args (IBaseInfo info) : Number
Obtain the number of arguments (both IN and OUT) for this callable.
GIRepository
Method
GIRepository.callable_info_get_return_type (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the return type of a callable item as a GITypeInfo.
GIRepository
Method
GIRepository.callable_info_load_arg (IBaseInfo info, Number n) : GIRepository.IBaseInfo
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
GIRepository.callable_info_load_return_type (IBaseInfo info) : GIRepository.IBaseInfo
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
GIRepository.callable_info_may_return_null (IBaseInfo info) : Boolean
See if a callable could return NULL.
GIRepository
Method
GIRepository.constant_info_get_type (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the type of the constant as a GITypeInfo.
GIRepository
Method
GIRepository.constant_info_get_value (IBaseInfo info, Argument value) : Number
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.enum_info_get_n_values (IBaseInfo info) : Number
GIRepository
Method
GIRepository.enum_info_get_storage_type (IBaseInfo info) : GIRepository.ITypeTag
Obtain the tag of the type used for the enum in the C ABI.
GIRepository
Method
GIRepository.enum_info_get_value (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain a value for this enumeration.
GIRepository
Method
GIRepository.error_domain_info_get_codes (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the enum containing all the error codes for this error domain.
GIRepository
Method
GIRepository.error_domain_info_get_quark (IBaseInfo info) : String
Obtain a string representing the quark for this error domain.
GIRepository
Method
GIRepository.field_info_get_field (IBaseInfo field_info, void* mem, Argument value) : Boolean
Reads a field identified by a GFieldInfo from a C structure or union.
GIRepository
Method
GIRepository.field_info_get_flags (IBaseInfo info) : GIRepository.IFieldInfoFlags
Obtain the flags for this GIFieldInfo.
GIRepository
Method
GIRepository.field_info_get_offset (IBaseInfo info) : Number
Obtain the offset in bits of the field member, this is relative to the beginning of the struct or union.
GIRepository
Method
GIRepository.field_info_get_size (IBaseInfo info) : Number
Obtain the size in bits of the field member, this is how much space you need to allocate to store the field.
GIRepository
Method
GIRepository.field_info_get_type (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the type of a field as a GITypeInfo.
GIRepository
Method
GIRepository.field_info_set_field (IBaseInfo field_info, void* mem, Argument value) : Boolean
Writes a field identified by a GFieldInfo to a C structure or union.
GIRepository
Method
GIRepository.function_info_get_flags (IBaseInfo info) : GIRepository.IFunctionInfoFlags
Obtain the GIFunctionInfoFlags for the info.
GIRepository
Method
GIRepository.function_info_get_property (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the property associated with this GIFunctionInfo.
GIRepository
Method
GIRepository.function_info_get_symbol (IBaseInfo info) : String
Obtain the symbol of the function.
GIRepository
Method
GIRepository.function_info_get_vfunc (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the virtual function associated with this GIFunctionInfo.
GIRepository
Method
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.
GIRepository
Method
GIRepository.info_new (IInfoType type, IBaseInfo container, Typelib typelib, Number offset) : GIRepository.IBaseInfo
GIRepository
Method
GIRepository.interface_info_find_method (IBaseInfo info, String name) : GIRepository.IBaseInfo
Obtain a method of the interface type given a name.
GIRepository
Method
GIRepository.interface_info_find_vfunc (IBaseInfo info, String name) : GIRepository.IBaseInfo
Locate a virtual function slot with name name.
GIRepository
Method
GIRepository.interface_info_get_constant (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an interface type constant at index n.
GIRepository
Method
GIRepository.interface_info_get_iface_struct (IBaseInfo info) : GIRepository.IBaseInfo
Returns the layout C structure associated with this GInterface.
GIRepository
Method
GIRepository.interface_info_get_method (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an interface type method at index n.
GIRepository
Method
GIRepository.interface_info_get_n_constants (IBaseInfo info) : Number
Obtain the number of constants that this interface type has.
GIRepository
Method
GIRepository.interface_info_get_n_methods (IBaseInfo info) : Number
Obtain the number of methods that this interface type has.
GIRepository
Method
GIRepository.interface_info_get_n_prerequisites (IBaseInfo info) : Number
Obtain the number of prerequisites for this interface type.
GIRepository
Method
GIRepository.interface_info_get_n_properties (IBaseInfo info) : Number
Obtain the number of properties that this interface type has.
GIRepository
Method
GIRepository.interface_info_get_n_signals (IBaseInfo info) : Number
Obtain the number of signals that this interface type has.
GIRepository
Method
GIRepository.interface_info_get_n_vfuncs (IBaseInfo info) : Number
Obtain the number of virtual functions that this interface type has.
GIRepository
Method
GIRepository.interface_info_get_prerequisite (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an interface type prerequisites index n.
GIRepository
Method
GIRepository.interface_info_get_property (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an interface type property at index n.
GIRepository
Method
GIRepository.interface_info_get_signal (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an interface type signal at index n.
GIRepository
Method
GIRepository.interface_info_get_vfunc (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an interface type virtual function at index n.
GIRepository
Method
GIRepository.object_info_find_method (IBaseInfo info, String name) : GIRepository.IBaseInfo
Obtain a method of the object type given a name.
GIRepository
Method
GIRepository.object_info_find_vfunc (IBaseInfo info, String name) : GIRepository.IBaseInfo
Locate a virtual function slot with name name.
GIRepository
Method
GIRepository.object_info_get_abstract (IBaseInfo info) : Boolean
Obtain if the object type is an abstract type, eg if it cannot be instantiated
GIRepository
Method
GIRepository.object_info_get_class_struct (IBaseInfo info) : GIRepository.IBaseInfo
Every GObject has two structures; an instance structure and a class structure.
GIRepository
Method
GIRepository.object_info_get_constant (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an object type constant at index n.
GIRepository
Method
GIRepository.object_info_get_field (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an object type field at index n.
GIRepository
Method
GIRepository.object_info_get_interface (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an object type interface at index n.
GIRepository
Method
GIRepository.object_info_get_method (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an object type method at index n.
GIRepository
Method
GIRepository.object_info_get_n_constants (IBaseInfo info) : Number
Obtain the number of constants that this object type has.
GIRepository
Method
GIRepository.object_info_get_n_fields (IBaseInfo info) : Number
Obtain the number of fields that this object type has.
GIRepository
Method
GIRepository.object_info_get_n_interfaces (IBaseInfo info) : Number
Obtain the number of interfaces that this object type has.
GIRepository
Method
GIRepository.object_info_get_n_methods (IBaseInfo info) : Number
Obtain the number of methods that this object type has.
GIRepository
Method
GIRepository.object_info_get_n_properties (IBaseInfo info) : Number
Obtain the number of properties that this object type has.
GIRepository
Method
GIRepository.object_info_get_n_signals (IBaseInfo info) : Number
Obtain the number of signals that this object type has.
GIRepository
Method
GIRepository.object_info_get_n_vfuncs (IBaseInfo info) : Number
Obtain the number of virtual functions that this object type has.
GIRepository
Method
GIRepository.object_info_get_parent (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the parent of the object type.
GIRepository
Method
GIRepository.object_info_get_property (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an object type property at index n.
GIRepository
Method
GIRepository.object_info_get_signal (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an object type signal at index n.
GIRepository
Method
GIRepository.object_info_get_type_init (IBaseInfo info) : String
Obtain the function which when called will return the GType function for which this object type is registered.
GIRepository
Method
GIRepository.object_info_get_type_name (IBaseInfo info) : String
Obtain the name of the objects class/type.
GIRepository
Method
GIRepository.object_info_get_vfunc (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain an object type virtual function at index n.
GIRepository
Method
GIRepository.property_info_get_flags (IBaseInfo info) : GObject.ParamFlags
Obtain the flags for this property info.
GIRepository
Method
GIRepository.property_info_get_ownership_transfer (IBaseInfo info) : GIRepository.ITransfer
Obtain the ownership transfer for this property.
GIRepository
Method
GIRepository.property_info_get_type (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the type information for the property info.
GIRepository
Method
GIRepository.registered_type_info_get_g_type (IBaseInfo info) : Number
Obtain the GType for this registered type.
GIRepository
Method
GIRepository.registered_type_info_get_type_init (IBaseInfo info) : String
Obtain the type init function for info.
GIRepository
Method
GIRepository.registered_type_info_get_type_name (IBaseInfo info) : String
Obtain the type name of the struct within the GObject type system.
GIRepository
Method
GIRepository.signal_info_get_class_closure (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the class closure for this signal if one is set.
GIRepository
Method
GIRepository.signal_info_get_flags (IBaseInfo info) : GObject.SignalFlags
Obtain the flags for this signal info.
GIRepository
Method
GIRepository.signal_info_true_stops_emit (IBaseInfo info) : Boolean
Obtain if the returning true in the signal handler will stop the emission of the signal.
GIRepository
Method
GIRepository.struct_info_find_method (IBaseInfo info, String name) : GIRepository.IBaseInfo
GIRepository
Method
GIRepository.struct_info_get_alignment (IBaseInfo info) : Number
GIRepository
Method
GIRepository.struct_info_get_field (IBaseInfo info, Number n) : GIRepository.IBaseInfo
GIRepository
Method
GIRepository.struct_info_get_method (IBaseInfo info, Number n) : GIRepository.IBaseInfo
GIRepository
Method
GIRepository.struct_info_get_n_fields (IBaseInfo info) : Number
GIRepository
Method
GIRepository.struct_info_get_n_methods (IBaseInfo info) : Number
GIRepository
Method
GIRepository.struct_info_get_size (IBaseInfo info) : Number
GIRepository
Method
GIRepository.struct_info_is_foreign (IBaseInfo info) : Boolean
GIRepository
Method
GIRepository.struct_info_is_gtype_struct (IBaseInfo info) : Boolean
Return true if this structure represents the "class structure" for some GObject or GInterface.
GIRepository
Method
GIRepository.type_info_get_array_fixed_size (IBaseInfo info) : Number
Obtain the fixed array size of the type.
GIRepository
Method
GIRepository.type_info_get_array_length (IBaseInfo info) : Number
Obtain the array length of the type.
GIRepository
Method
GIRepository.type_info_get_array_type (IBaseInfo info) : GIRepository.IArrayType
Obtain the array type for this type.
GIRepository
Method
GIRepository.type_info_get_error_domain (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain the error domains at index n for this type.
GIRepository
Method
GIRepository.type_info_get_interface (IBaseInfo info) : GIRepository.IBaseInfo
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
GIRepository.type_info_get_n_error_domains (IBaseInfo info) : Number
Obtain the number of error domains for this type.
GIRepository
Method
GIRepository.type_info_get_param_type (IBaseInfo info, Number n) : GIRepository.IBaseInfo
Obtain the parameter type n.
GIRepository
Method
GIRepository.type_info_get_tag (IBaseInfo info) : GIRepository.ITypeTag
Obtain the type tag for the type.
GIRepository
Method
GIRepository.type_info_is_pointer (IBaseInfo info) : Boolean
Obtain if the type is passed as a reference.
GIRepository
Method
GIRepository.type_info_is_zero_terminated (IBaseInfo info) : Boolean
Obtain if the last element of the array is NULL.
GIRepository
Method
GIRepository.union_info_find_method (IBaseInfo info, String name) : GIRepository.IBaseInfo
GIRepository
Method
GIRepository.union_info_get_alignment (IBaseInfo info) : Number
GIRepository
Method
GIRepository.union_info_get_discriminator (IBaseInfo info, Number n) : GIRepository.IBaseInfo
GIRepository
Method
GIRepository.union_info_get_discriminator_offset (IBaseInfo info) : Number
GIRepository
Method
GIRepository.union_info_get_discriminator_type (IBaseInfo info) : GIRepository.IBaseInfo
GIRepository
Method
GIRepository.union_info_get_field (IBaseInfo info, Number n) : GIRepository.IBaseInfo
GIRepository
Method
GIRepository.union_info_get_method (IBaseInfo info, Number n) : GIRepository.IBaseInfo
GIRepository
Method
GIRepository.union_info_get_n_fields (IBaseInfo info) : Number
GIRepository
Method
GIRepository.union_info_get_n_methods (IBaseInfo info) : Number
GIRepository
Method
GIRepository.union_info_get_size (IBaseInfo info) : Number
GIRepository
Method
GIRepository.union_info_is_discriminated (IBaseInfo info) : Boolean
GIRepository
Method
GIRepository.value_info_get_value (IBaseInfo info) : Number
Obtain the enumeration value of the GIValueInfo.
GIRepository
Method
GIRepository.vfunc_info_get_flags (IBaseInfo info) : GIRepository.IVFuncInfoFlags
Obtain the flags for this virtual function info.
GIRepository
Method
GIRepository.vfunc_info_get_invoker (IBaseInfo info) : GIRepository.IBaseInfo
If this virtual function has an associated invoker method, this method will return it.
GIRepository
Method
GIRepository.vfunc_info_get_offset (IBaseInfo info) : Number
Obtain the offset of the function pointer in the class struct.
GIRepository
Method
GIRepository.vfunc_info_get_signal (IBaseInfo info) : GIRepository.IBaseInfo
Obtain the signal for the virtual function if one is set.
GIRepository.IRepository
Method
find_by_name (String namespace_, String name) : GIRepository.IBaseInfo
Searches for a particular entry in a namespace.
GIRepository.IRepository
Method
find_by_gtype (Number gtype) : GIRepository.IBaseInfo
Searches all loaded namespaces for a particular GType.
GIRepository.IRepository
Method
get_info (String namespace_, Number index) : GIRepository.IBaseInfo
This function returns a particular metadata entry in the given namespace namespace_.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:32:54 GMT+0800 (HKT)