gi-gio-2.0.35: Gio bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gio.Enums

Description

 
Synopsis

Enumerations

BusType

data BusType Source #

An enumeration for well-known message buses.

Since: 2.26

Constructors

BusTypeStarter

An alias for the message bus that activated the process, if any.

BusTypeNone

Not a message bus.

BusTypeSystem

The system-wide message bus.

BusTypeSession

The login session message bus.

AnotherBusType Int

Catch-all for unknown values

Instances

Instances details
Enum BusType Source # 
Instance details

Defined in GI.Gio.Enums

Show BusType Source # 
Instance details

Defined in GI.Gio.Enums

Eq BusType Source # 
Instance details

Defined in GI.Gio.Enums

Ord BusType Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum BusType Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject BusType Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes BusType Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes BusType Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes BusType = '[] :: [Type]

ConverterResult

data ConverterResult Source #

Results returned from converterConvert.

Since: 2.24

Constructors

ConverterResultError

There was an error during conversion.

ConverterResultConverted

Some data was consumed or produced

ConverterResultFinished

The conversion is finished

ConverterResultFlushed

Flushing is finished

AnotherConverterResult Int

Catch-all for unknown values

Instances

Instances details
Enum ConverterResult Source # 
Instance details

Defined in GI.Gio.Enums

Show ConverterResult Source # 
Instance details

Defined in GI.Gio.Enums

Eq ConverterResult Source # 
Instance details

Defined in GI.Gio.Enums

Ord ConverterResult Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum ConverterResult Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject ConverterResult Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes ConverterResult Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes ConverterResult Source # 
Instance details

Defined in GI.Gio.Enums

CredentialsType

data CredentialsType Source #

Enumeration describing different kinds of native credential types.

Since: 2.26

Constructors

CredentialsTypeInvalid

Indicates an invalid native credential type.

CredentialsTypeLinuxUcred

The native credentials type is a struct ucred.

CredentialsTypeFreebsdCmsgcred

The native credentials type is a struct cmsgcred.

CredentialsTypeOpenbsdSockpeercred

The native credentials type is a struct sockpeercred. Added in 2.30.

CredentialsTypeSolarisUcred

The native credentials type is a ucred_t. Added in 2.40.

CredentialsTypeNetbsdUnpcbid

The native credentials type is a struct unpcbid. Added in 2.42.

CredentialsTypeAppleXucred

The native credentials type is a struct xucred. Added in 2.66.

CredentialsTypeWin32Pid

The native credentials type is a PID DWORD. Added in 2.72.

AnotherCredentialsType Int

Catch-all for unknown values

Instances

Instances details
Enum CredentialsType Source # 
Instance details

Defined in GI.Gio.Enums

Show CredentialsType Source # 
Instance details

Defined in GI.Gio.Enums

Eq CredentialsType Source # 
Instance details

Defined in GI.Gio.Enums

Ord CredentialsType Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum CredentialsType Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject CredentialsType Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes CredentialsType Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes CredentialsType Source # 
Instance details

Defined in GI.Gio.Enums

DBusError

data DBusError Source #

Error codes for the G_DBUS_ERROR error domain.

Since: 2.26

Constructors

DBusErrorFailed

A generic error; "something went wrong" - see the error message for more.

DBusErrorNoMemory

There was not enough memory to complete an operation.

DBusErrorServiceUnknown

The bus doesn't know how to launch a service to supply the bus name you wanted.

DBusErrorNameHasNoOwner

The bus name you referenced doesn't exist (i.e. no application owns it).

DBusErrorNoReply

No reply to a message expecting one, usually means a timeout occurred.

DBusErrorIoError

Something went wrong reading or writing to a socket, for example.

DBusErrorBadAddress

A D-Bus bus address was malformed.

DBusErrorNotSupported

Requested operation isn't supported (like ENOSYS on UNIX).

DBusErrorLimitsExceeded

Some limited resource is exhausted.

DBusErrorAccessDenied

Security restrictions don't allow doing what you're trying to do.

DBusErrorAuthFailed

Authentication didn't work.

DBusErrorNoServer

Unable to connect to server (probably caused by ECONNREFUSED on a socket).

DBusErrorTimeout

Certain timeout errors, possibly ETIMEDOUT on a socket. Note that DBusErrorNoReply is used for message reply timeouts. Warning: this is confusingly-named given that DBusErrorTimedOut also exists. We can't fix it for compatibility reasons so just be careful.

DBusErrorNoNetwork

No network access (probably ENETUNREACH on a socket).

DBusErrorAddressInUse

Can't bind a socket since its address is in use (i.e. EADDRINUSE).

DBusErrorDisconnected

The connection is disconnected and you're trying to use it.

DBusErrorInvalidArgs

Invalid arguments passed to a method call.

DBusErrorFileNotFound

Missing file.

DBusErrorFileExists

Existing file and the operation you're using does not silently overwrite.

DBusErrorUnknownMethod

Method name you invoked isn't known by the object you invoked it on.

DBusErrorTimedOut

Certain timeout errors, e.g. while starting a service. Warning: this is confusingly-named given that DBusErrorTimeout also exists. We can't fix it for compatibility reasons so just be careful.

DBusErrorMatchRuleNotFound

Tried to remove or modify a match rule that didn't exist.

DBusErrorMatchRuleInvalid

The match rule isn't syntactically valid.

DBusErrorSpawnExecFailed

While starting a new process, the exec() call failed.

DBusErrorSpawnForkFailed

While starting a new process, the fork() call failed.

DBusErrorSpawnChildExited

While starting a new process, the child exited with a status code.

DBusErrorSpawnChildSignaled

While starting a new process, the child exited on a signal.

DBusErrorSpawnFailed

While starting a new process, something went wrong.

DBusErrorSpawnSetupFailed

We failed to setup the environment correctly.

DBusErrorSpawnConfigInvalid

We failed to setup the config parser correctly.

DBusErrorSpawnServiceInvalid

Bus name was not valid.

DBusErrorSpawnServiceNotFound

Service file not found in system-services directory.

DBusErrorSpawnPermissionsInvalid

Permissions are incorrect on the setuid helper.

DBusErrorSpawnFileInvalid

Service file invalid (Name, User or Exec missing).

DBusErrorSpawnNoMemory

Tried to get a UNIX process ID and it wasn't available.

DBusErrorUnixProcessIdUnknown

Tried to get a UNIX process ID and it wasn't available.

DBusErrorInvalidSignature

A type signature is not valid.

DBusErrorInvalidFileContent

A file contains invalid syntax or is otherwise broken.

DBusErrorSelinuxSecurityContextUnknown

Asked for SELinux security context and it wasn't available.

DBusErrorAdtAuditDataUnknown

Asked for ADT audit data and it wasn't available.

DBusErrorObjectPathInUse

There's already an object with the requested object path.

DBusErrorUnknownObject

Object you invoked a method on isn't known. Since 2.42

DBusErrorUnknownInterface

Interface you invoked a method on isn't known by the object. Since 2.42

DBusErrorUnknownProperty

Property you tried to access isn't known by the object. Since 2.42

DBusErrorPropertyReadOnly

Property you tried to set is read-only. Since 2.42

AnotherDBusError Int

Catch-all for unknown values

Instances

Instances details
Enum DBusError Source # 
Instance details

Defined in GI.Gio.Enums

Show DBusError Source # 
Instance details

Defined in GI.Gio.Enums

Eq DBusError Source # 
Instance details

Defined in GI.Gio.Enums

Ord DBusError Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum DBusError Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject DBusError Source # 
Instance details

Defined in GI.Gio.Enums

GErrorClass DBusError Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes DBusError Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes DBusError Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes DBusError = '[] :: [Type]

catchDBusError :: IO a -> (DBusError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type DBusError. This is a specialized version of catchGErrorJustDomain.

handleDBusError :: (DBusError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type DBusError. This is a specialized version of handleGErrorJustDomain.

DBusMessageByteOrder

data DBusMessageByteOrder Source #

Enumeration used to describe the byte order of a D-Bus message.

Since: 2.26

Constructors

DBusMessageByteOrderBigEndian

The byte order is big endian.

DBusMessageByteOrderLittleEndian

The byte order is little endian.

AnotherDBusMessageByteOrder Int

Catch-all for unknown values

Instances

Instances details
Enum DBusMessageByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

Show DBusMessageByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

Eq DBusMessageByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

Ord DBusMessageByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum DBusMessageByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject DBusMessageByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes DBusMessageByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes DBusMessageByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

DBusMessageHeaderField

data DBusMessageHeaderField Source #

Header fields used in DBusMessage.

Since: 2.26

Constructors

DBusMessageHeaderFieldInvalid

Not a valid header field.

DBusMessageHeaderFieldPath

The object path.

DBusMessageHeaderFieldInterface

The interface name.

DBusMessageHeaderFieldMember

The method or signal name.

DBusMessageHeaderFieldErrorName

The name of the error that occurred.

DBusMessageHeaderFieldReplySerial

The serial number the message is a reply to.

DBusMessageHeaderFieldDestination

The name the message is intended for.

DBusMessageHeaderFieldSender

Unique name of the sender of the message (filled in by the bus).

DBusMessageHeaderFieldSignature

The signature of the message body.

DBusMessageHeaderFieldNumUnixFds

The number of UNIX file descriptors that accompany the message.

AnotherDBusMessageHeaderField Int

Catch-all for unknown values

Instances

Instances details
Enum DBusMessageHeaderField Source # 
Instance details

Defined in GI.Gio.Enums

Show DBusMessageHeaderField Source # 
Instance details

Defined in GI.Gio.Enums

Eq DBusMessageHeaderField Source # 
Instance details

Defined in GI.Gio.Enums

Ord DBusMessageHeaderField Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum DBusMessageHeaderField Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject DBusMessageHeaderField Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes DBusMessageHeaderField Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes DBusMessageHeaderField Source # 
Instance details

Defined in GI.Gio.Enums

DBusMessageType

data DBusMessageType Source #

Message types used in DBusMessage.

Since: 2.26

Constructors

DBusMessageTypeInvalid

Message is of invalid type.

DBusMessageTypeMethodCall

Method call.

DBusMessageTypeMethodReturn

Method reply.

DBusMessageTypeError

Error reply.

DBusMessageTypeSignal

Signal emission.

AnotherDBusMessageType Int

Catch-all for unknown values

Instances

Instances details
Enum DBusMessageType Source # 
Instance details

Defined in GI.Gio.Enums

Show DBusMessageType Source # 
Instance details

Defined in GI.Gio.Enums

Eq DBusMessageType Source # 
Instance details

Defined in GI.Gio.Enums

Ord DBusMessageType Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum DBusMessageType Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject DBusMessageType Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes DBusMessageType Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes DBusMessageType Source # 
Instance details

Defined in GI.Gio.Enums

DataStreamByteOrder

data DataStreamByteOrder Source #

DataStreamByteOrder is used to ensure proper endianness of streaming data sources across various machine architectures.

Constructors

DataStreamByteOrderBigEndian

Selects Big Endian byte order.

DataStreamByteOrderLittleEndian

Selects Little Endian byte order.

DataStreamByteOrderHostEndian

Selects endianness based on host machine's architecture.

AnotherDataStreamByteOrder Int

Catch-all for unknown values

Instances

Instances details
Enum DataStreamByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

Show DataStreamByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

Eq DataStreamByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

Ord DataStreamByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum DataStreamByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject DataStreamByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes DataStreamByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes DataStreamByteOrder Source # 
Instance details

Defined in GI.Gio.Enums

DataStreamNewlineType

data DataStreamNewlineType Source #

DataStreamNewlineType is used when checking for or setting the line endings for a given file.

Constructors

DataStreamNewlineTypeLf

Selects "LF" line endings, common on most modern UNIX platforms.

DataStreamNewlineTypeCr

Selects "CR" line endings.

DataStreamNewlineTypeCrLf

Selects "CR, LF" line ending, common on Microsoft Windows.

DataStreamNewlineTypeAny

Automatically try to handle any line ending type.

AnotherDataStreamNewlineType Int

Catch-all for unknown values

Instances

Instances details
Enum DataStreamNewlineType Source # 
Instance details

Defined in GI.Gio.Enums

Show DataStreamNewlineType Source # 
Instance details

Defined in GI.Gio.Enums

Eq DataStreamNewlineType Source # 
Instance details

Defined in GI.Gio.Enums

Ord DataStreamNewlineType Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum DataStreamNewlineType Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject DataStreamNewlineType Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes DataStreamNewlineType Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes DataStreamNewlineType Source # 
Instance details

Defined in GI.Gio.Enums

DriveStartStopType

data DriveStartStopType Source #

Enumeration describing how a drive can be started/stopped.

Since: 2.22

Constructors

DriveStartStopTypeUnknown

Unknown or drive doesn't support start/stop.

DriveStartStopTypeShutdown

The stop method will physically shut down the drive and e.g. power down the port the drive is attached to.

DriveStartStopTypeNetwork

The start/stop methods are used for connecting/disconnect to the drive over the network.

DriveStartStopTypeMultidisk

The start/stop methods will assemble/disassemble a virtual drive from several physical drives.

DriveStartStopTypePassword

The start/stop methods will unlock/lock the disk (for example using the ATA SECURITY UNLOCK DEVICE command)

AnotherDriveStartStopType Int

Catch-all for unknown values

Instances

Instances details
Enum DriveStartStopType Source # 
Instance details

Defined in GI.Gio.Enums

Show DriveStartStopType Source # 
Instance details

Defined in GI.Gio.Enums

Eq DriveStartStopType Source # 
Instance details

Defined in GI.Gio.Enums

Ord DriveStartStopType Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum DriveStartStopType Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject DriveStartStopType Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes DriveStartStopType Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes DriveStartStopType Source # 
Instance details

Defined in GI.Gio.Enums

EmblemOrigin

data EmblemOrigin Source #

GEmblemOrigin is used to add information about the origin of the emblem to Emblem.

Since: 2.18

Constructors

EmblemOriginUnknown

Emblem of unknown origin

EmblemOriginDevice

Emblem adds device-specific information

EmblemOriginLivemetadata

Emblem depicts live metadata, such as "readonly"

EmblemOriginTag

Emblem comes from a user-defined tag, e.g. set by nautilus (in the future)

AnotherEmblemOrigin Int

Catch-all for unknown values

Instances

Instances details
Enum EmblemOrigin Source # 
Instance details

Defined in GI.Gio.Enums

Show EmblemOrigin Source # 
Instance details

Defined in GI.Gio.Enums

Eq EmblemOrigin Source # 
Instance details

Defined in GI.Gio.Enums

Ord EmblemOrigin Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum EmblemOrigin Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject EmblemOrigin Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes EmblemOrigin Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes EmblemOrigin Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes EmblemOrigin = '[] :: [Type]

FileAttributeStatus

data FileAttributeStatus Source #

Used by fileSetAttributesFromInfo when setting file attributes.

Constructors

FileAttributeStatusUnset

Attribute value is unset (empty).

FileAttributeStatusSet

Attribute value is set.

FileAttributeStatusErrorSetting

Indicates an error in setting the value.

AnotherFileAttributeStatus Int

Catch-all for unknown values

Instances

Instances details
Enum FileAttributeStatus Source # 
Instance details

Defined in GI.Gio.Enums

Show FileAttributeStatus Source # 
Instance details

Defined in GI.Gio.Enums

Eq FileAttributeStatus Source # 
Instance details

Defined in GI.Gio.Enums

Ord FileAttributeStatus Source # 
Instance details

Defined in GI.Gio.Enums

BoxedEnum FileAttributeStatus Source # 
Instance details

Defined in GI.Gio.Enums

TypedObject FileAttributeStatus Source # 
Instance details

Defined in GI.Gio.Enums

HasParentTypes FileAttributeStatus Source # 
Instance details

Defined in GI.Gio.Enums

type ParentTypes FileAttributeStatus Source # 
Instance details

Defined in GI.Gio.Enums

FileAttributeType

data FileAttributeType Source #

The data types for file attributes.

Constructors

FileAttributeTypeInvalid

indicates an invalid or uninitialized type.

FileAttributeTypeString

a null terminated UTF8 string.

FileAttributeTypeByteString

a zero terminated string of non-zero bytes.

FileAttributeTypeBoolean

a boolean value.

FileAttributeTypeUint32

an unsigned 4-byte/32-bit integer.

FileAttributeTypeInt32

a signed 4-byte/32-bit integer.

FileAttributeTypeUint64

an unsigned 8-byte/64-bit integer.

FileAttributeTypeInt64

a signed 8-byte/64-bit integer.

FileAttributeTypeObject

a Object.

FileAttributeTypeStringv

a Nothing terminated char **. Since 2.22

AnotherFileAttributeType Int

Catch-all for unknown values