gi-girepository-1.0.19: GIRepository (gobject-introspection) bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.GIRepository.Enums

Contents

Description

 
Synopsis

Enumerations

ArrayType

data ArrayType Source #

The type of array in a GITypeInfo.

Constructors

ArrayTypeC

a C array, char[] for instance

ArrayTypeArray

a gArray array

ArrayTypePtrArray

a PtrArray array

ArrayTypeByteArray

a ByteArray array

AnotherArrayType Int

Catch-all for unknown values

Direction

data Direction Source #

The direction of a GIArgInfo.

Constructors

DirectionIn

in argument.

DirectionOut

out argument.

DirectionInout

in and out argument.

AnotherDirection Int

Catch-all for unknown values

InfoType

data InfoType Source #

The type of a GIBaseInfo struct.

Constructors

InfoTypeInvalid

invalid type

InfoTypeFunction

function, see GIFunctionInfo

InfoTypeCallback

callback, see GIFunctionInfo

InfoTypeStruct

struct, see GIStructInfo

InfoTypeBoxed

boxed, see GIStructInfo or GIUnionInfo

InfoTypeEnum

enum, see GIEnumInfo

InfoTypeFlags

flags, see GIEnumInfo

InfoTypeObject

object, see GIObjectInfo

InfoTypeInterface

interface, see GIInterfaceInfo

InfoTypeConstant

contant, see GIConstantInfo

InfoTypeInvalid0

deleted, used to be GI_INFO_TYPE_ERROR_DOMAIN.

InfoTypeUnion

union, see GIUnionInfo

InfoTypeValue

enum value, see GIValueInfo

InfoTypeSignal

signal, see GISignalInfo

InfoTypeVfunc

virtual function, see GIVFuncInfo

InfoTypeProperty

GObject property, see GIPropertyInfo

InfoTypeField

struct or union field, see GIFieldInfo

InfoTypeArg

argument of a function or callback, see GIArgInfo

InfoTypeType

type information, see GITypeInfo

InfoTypeUnresolved

unresolved type, a type which is not present in the typelib, or any of its dependencies.

AnotherInfoType Int

Catch-all for unknown values

NvokeError

data NvokeError Source #

An error occuring while invoking a function via g_function_info_invoke().

Constructors

NvokeErrorFailed

invokation failed, unknown error.

NvokeErrorSymbolNotFound

symbol couldn't be found in any of the libraries associated with the typelib of the function.

NvokeErrorArgumentMismatch

the arguments provided didn't match the expected arguments for the functions type signature.

AnotherNvokeError Int

Catch-all for unknown values

RepositoryError

data RepositoryError Source #

An error code used with G_IREPOSITORY_ERROR in a GError returned from a Repository routine.

Constructors

RepositoryErrorTypelibNotFound

the typelib could not be found.

RepositoryErrorNamespaceMismatch

the namespace does not match the requested namespace.

RepositoryErrorNamespaceVersionConflict

the version of the typelib does not match the requested version.

RepositoryErrorLibraryNotFound

the library used by the typelib could not be found.

AnotherRepositoryError Int

Catch-all for unknown values

ScopeType

data ScopeType Source #

Scope type of a GIArgInfo representing callback, determines how the callback is invoked and is used to decided when the invoke structs can be freed.

Constructors

ScopeTypeInvalid

The argument is not of callback type.

ScopeTypeCall

The callback and associated user_data is only used during the call to this function.

ScopeTypeAsync

The callback and associated user_data is only used until the callback is invoked, and the callback. is invoked always exactly once.

ScopeTypeNotified

The callback and and associated user_data is used until the caller is notfied via the destroy_notify.

AnotherScopeType Int

Catch-all for unknown values

Transfer

data Transfer Source #

The transfer is the exchange of data between two parts, from the callee to the caller. The callee is either a function/method/signal or an object/interface where a property is defined. The caller is the side accessing a property or calling a function. Transfer specifies who's responsible for freeing the resources after the ownership transfer is complete. In case of a containing type such as a list, an array or a hash table the container itself is specified differently from the items within the container itself. Each container is freed differently, check the documentation for the types themselves for information on how to free them.

Constructors

TransferNothing

transfer nothing from the callee (function or the type instance the property belongs to) to the caller. The callee retains the ownership of the transfer and the caller doesn't need to do anything to free up the resources of this transfer.

TransferContainer

transfer the container (list, array, hash table) from the callee to the caller. The callee retains the ownership of the individual items in the container and the caller has to free up the container resources (g_list_free()/hashTableDestroy etc) of this transfer.

TransferEverything

transfer everything, eg the container and its contents from the callee to the caller. This is the case when the callee creates a copy of all the data it returns. The caller is responsible for cleaning up the container and item resources of this transfer.

AnotherTransfer Int

Catch-all for unknown values

TypeTag

data TypeTag Source #

The type tag of a GITypeInfo.

Constructors

TypeTagVoid

void

TypeTagBoolean

boolean

TypeTagInt8

8-bit signed integer

TypeTagUint8

8-bit unsigned integer

TypeTagInt16

16-bit signed integer

TypeTagUint16

16-bit unsigned integer

TypeTagInt32

32-bit signed integer

TypeTagUint32

32-bit unsigned integer

TypeTagInt64

64-bit signed integer

TypeTagUint64

64-bit unsigned integer

TypeTagFloat

float

TypeTagDouble

double floating point

TypeTagGtype

a GType

TypeTagUtf8

a UTF-8 encoded string

TypeTagFilename

a filename, encoded in the same encoding as the native filesystem is using.

TypeTagArray

an array

TypeTagInterface

an extended interface object

TypeTagGlist

a List

TypeTagGslist

a SList

TypeTagGhash

a HashTable

TypeTagError

a GError

TypeTagUnichar

Unicode character

AnotherTypeTag Int

Catch-all for unknown values