gi-gobject-2.0.27: GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GObject.Flags

Description

 
Synopsis

Flags

BindingFlags

data BindingFlags Source #

Flags to be passed to objectBindProperty or g_object_bind_property_full().

This enumeration can be extended at later date.

Since: 2.26

Constructors

BindingFlagsDefault

The default binding; if the source property changes, the target property is updated with its value.

BindingFlagsBidirectional

Bidirectional binding; if either the property of the source or the property of the target changes, the other is updated.

BindingFlagsSyncCreate

Synchronize the values of the source and target properties when creating the binding; the direction of the synchronization is always from the source to the target.

BindingFlagsInvertBoolean

If the two properties being bound are booleans, setting one to True will result in the other being set to False and vice versa. This flag will only work for boolean properties, and cannot be used when passing custom transformation functions to g_object_bind_property_full().

AnotherBindingFlags Int

Catch-all for unknown values

Instances

Instances details
Enum BindingFlags Source # 
Instance details

Defined in GI.GObject.Flags

Show BindingFlags Source # 
Instance details

Defined in GI.GObject.Flags

Eq BindingFlags Source # 
Instance details

Defined in GI.GObject.Flags

Ord BindingFlags Source # 
Instance details

Defined in GI.GObject.Flags

BoxedFlags BindingFlags Source # 
Instance details

Defined in GI.GObject.Flags

IsGFlag BindingFlags Source # 
Instance details

Defined in GI.GObject.Flags

TypedObject BindingFlags Source # 
Instance details

Defined in GI.GObject.Flags

Methods

glibType :: IO GType #

HasParentTypes BindingFlags Source # 
Instance details

Defined in GI.GObject.Flags

type ParentTypes BindingFlags Source # 
Instance details

Defined in GI.GObject.Flags

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

ConnectFlags

data ConnectFlags Source #

The connection flags are used to specify the behaviour of a signal's connection.

Constructors

ConnectFlagsAfter

whether the handler should be called before or after the default handler of the signal.

ConnectFlagsSwapped

whether the instance and data should be swapped when calling the handler; see g_signal_connect_swapped() for an example.

AnotherConnectFlags Int

Catch-all for unknown values

ParamFlags

data ParamFlags Source #

Through the ParamFlags flag values, certain aspects of parameters can be configured.

See also: PARAM_STATIC_STRINGS

Constructors

ParamFlagsReadable

the parameter is readable

ParamFlagsWritable

the parameter is writable

ParamFlagsReadwrite

alias for ParamFlagsReadable | ParamFlagsWritable

ParamFlagsConstruct

the parameter will be set upon object construction

ParamFlagsConstructOnly

the parameter can only be set upon object construction

ParamFlagsLaxValidation

upon parameter conversion (see paramValueConvert) strict validation is not required

ParamFlagsStaticName

the string used as name when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8

ParamFlagsPrivate

internal

ParamFlagsStaticNick

the string used as nick when constructing the parameter is guaranteed to remain valid and unmmodified for the lifetime of the parameter. Since 2.8

ParamFlagsStaticBlurb

the string used as blurb when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8

ParamFlagsExplicitNotify

calls to objectSetProperty for this property will not automatically result in a "notify" signal being emitted: the implementation must call objectNotify themselves in case the property actually changes. Since: 2.42.

ParamFlagsDeprecated

the parameter is deprecated and will be removed in a future version. A warning will be generated if it is used while running with G_ENABLE_DIAGNOSTIC=1. Since 2.26

AnotherParamFlags Int

Catch-all for unknown values

SignalFlags

data SignalFlags Source #

The signal flags are used to specify a signal's behaviour.

Constructors

SignalFlagsRunFirst

Invoke the object method handler in the first emission stage.

SignalFlagsRunLast

Invoke the object method handler in the third emission stage.

SignalFlagsRunCleanup

Invoke the object method handler in the last emission stage.

SignalFlagsNoRecurse

Signals being emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted.

SignalFlagsDetailed

This signal supports "[detail](#g:signal:detail)" appendices to the signal name upon handler connections and emissions.

SignalFlagsAction

Action signals are signals that may freely be emitted on alive objects from user code via g_signal_emit() and friends, without the need of being embedded into extra code that performs pre or post emission adjustments on the object. They can also be thought of as object methods which can be called generically by third-party code.

SignalFlagsNoHooks

No emissions hooks are supported for this signal.

SignalFlagsMustCollect

Varargs signal emission will always collect the arguments, even if there are no signal handlers connected. Since 2.30.

SignalFlagsDeprecated

The signal is deprecated and will be removed in a future version. A warning will be generated if it is connected while running with G_ENABLE_DIAGNOSTIC=1. Since 2.32.

SignalFlagsAccumulatorFirstRun

Only used in SignalAccumulator accumulator functions for the SignalInvocationHint::run_type field to mark the first call to the accumulator function for a signal emission. Since 2.68.

AnotherSignalFlags Int

Catch-all for unknown values

SignalMatchType

data SignalMatchType Source #

Constructors

SignalMatchTypeId

The signal id must be equal.

SignalMatchTypeDetail

The signal detail must be equal.

SignalMatchTypeClosure

The closure must be the same.

SignalMatchTypeFunc

The C closure callback must be the same.

SignalMatchTypeData

The closure data must be the same.

SignalMatchTypeUnblocked

Only unblocked signals may be matched.

AnotherSignalMatchType Int

Catch-all for unknown values

TypeDebugFlags

data TypeDebugFlags Source #

Deprecated: (Since version 2.36)typeInit is now done automatically

These flags used to be passed to typeInitWithDebugFlags which is now deprecated.

If you need to enable debugging features, use the GOBJECT_DEBUG environment variable.

Constructors

TypeDebugFlagsNone

Print no messages

TypeDebugFlagsObjects

Print messages about object bookkeeping

TypeDebugFlagsSignals

Print messages about signal emissions

TypeDebugFlagsInstanceCount

Keep a count of instances of each type

TypeDebugFlagsMask

Mask covering all debug flags

AnotherTypeDebugFlags Int

Catch-all for unknown values

TypeFlags

data TypeFlags Source #

Bit masks used to check or determine characteristics of a type.

Constructors

TypeFlagsAbstract

Indicates an abstract type. No instances can be created for an abstract type

TypeFlagsValueAbstract

Indicates an abstract value type, i.e. a type that introduces a value table, but can't be used for valueInit

TypeFlagsFinal

Indicates a final type. A final type is a non-derivable leaf node in a deep derivable type hierarchy tree. Since: 2.70

AnotherTypeFlags Int

Catch-all for unknown values

TypeFundamentalFlags

data TypeFundamentalFlags Source #

Bit masks used to check or determine specific characteristics of a fundamental type.

Constructors

TypeFundamentalFlagsClassed

Indicates a classed type

TypeFundamentalFlagsInstantiatable

Indicates an instantiatable type (implies classed)

TypeFundamentalFlagsDerivable

Indicates a flat derivable type

TypeFundamentalFlagsDeepDerivable

Indicates a deep derivable type (implies derivable)

AnotherTypeFundamentalFlags Int

Catch-all for unknown values

Instances

Instances details
Enum TypeFundamentalFlags Source # 
Instance details

Defined in GI.GObject.Flags

Show TypeFundamentalFlags Source # 
Instance details

Defined in GI.GObject.Flags

Eq TypeFundamentalFlags Source # 
Instance details

Defined in GI.GObject.Flags

Ord TypeFundamentalFlags Source # 
Instance details

Defined in GI.GObject.Flags

IsGFlag TypeFundamentalFlags Source # 
Instance details

Defined in GI.GObject.Flags