Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data BindingFlags
- data ConnectFlags
- data ParamFlags
- data SignalFlags
- data SignalMatchType
- data TypeDebugFlags
- data TypeFlags
- data TypeFundamentalFlags
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
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 |
AnotherBindingFlags Int | Catch-all for unknown values |
Instances
ConnectFlags
data ConnectFlags Source #
The connection flags are used to specify the behaviour of a signal's connection.
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 |
AnotherConnectFlags Int | Catch-all for unknown values |
Instances
ParamFlags
data ParamFlags Source #
Through the ParamFlags
flag values, certain aspects of parameters
can be configured. See also PARAM_STATIC_STRINGS
.
ParamFlagsReadable | the parameter is readable |
ParamFlagsWritable | the parameter is writable |
ParamFlagsReadwrite | alias for |
ParamFlagsConstruct | the parameter will be set upon object construction |
ParamFlagsConstructOnly | the parameter can only be set upon object construction |
ParamFlagsLaxValidation | upon parameter conversion (see |
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 |
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 |
Instances
SignalFlags
data SignalFlags Source #
The signal flags are used to specify a signal's behaviour, the overall signal description outlines how especially the RUN flags control the stages of a signal emission.
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 |
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. |
AnotherSignalFlags Int | Catch-all for unknown values |
Instances
SignalMatchType
data SignalMatchType Source #
The match types specify what signalHandlersBlockMatched
,
signalHandlersUnblockMatched
and signalHandlersDisconnectMatched
match signals by.
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 |
Instances
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.
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 |
Instances
TypeFlags
Bit masks used to check or determine characteristics of a type.
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
|
AnotherTypeFlags Int | Catch-all for unknown values |
Instances
Enum TypeFlags Source # | |
Defined in GI.GObject.Flags | |
Eq TypeFlags Source # | |
Ord TypeFlags Source # | |
Defined in GI.GObject.Flags | |
Show TypeFlags Source # | |
IsGFlag TypeFlags Source # | |
Defined in GI.GObject.Flags |
TypeFundamentalFlags
data TypeFundamentalFlags Source #
Bit masks used to check or determine specific characteristics of a fundamental type.
TypeFundamentalFlagsClassed | Indicates a classed type |
TypeFundamentalFlagsInstantiatable | Indicates an instantiable type (implies classed) |
TypeFundamentalFlagsDerivable | Indicates a flat derivable type |
TypeFundamentalFlagsDeepDerivable | Indicates a deep derivable type (implies derivable) |
AnotherTypeFundamentalFlags Int | Catch-all for unknown values |