gi-gio
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Objects.PropertyAction

Description

A GPropertyAction is a way to get a Action with a state value reflecting and controlling the value of a Object property.

The state of the action will correspond to the value of the property. Changing it will change the property (assuming the requested value matches the requirements as specified in the [typegObject.ParamSpec]).

Only the most common types are presently supported. Booleans are mapped to booleans, strings to strings, signed/unsigned integers to int32/uint32 and floats and doubles to doubles.

If the property is an enum then the state will be string-typed and conversion will automatically be performed between the enum value and ‘nick’ string as per the [typegObject.EnumValue] table.

Flags types are not currently supported.

Properties of object types, boxed types and pointer types are not supported and probably never will be.

Properties of [typegLib.Variant] types are not currently supported.

If the property is boolean-valued then the action will have a NULL parameter type, and activating the action (with no parameter) will toggle the value of the property.

In all other cases, the parameter type will correspond to the type of the property.

The general idea here is to reduce the number of locations where a particular piece of state is kept (and therefore has to be synchronised between). GPropertyAction does not have a separate state that is kept in sync with the property value — its state is the property value.

For example, it might be useful to create a Action corresponding to the visible-child-name property of a `GtkStack` so that the current page can be switched from a menu. The active radio indication in the menu is then directly determined from the active page of the GtkStack.

An anti-example would be binding the active-id property on a `GtkComboBox`. This is because the state of the combo box itself is probably uninteresting and is actually being used to control something else.

Another anti-example would be to bind to the visible-child-name property of a `GtkStack` if this value is actually stored in Settings. In that case, the real source of the value is* Settings. If you want a Action to control a setting stored in Settings, see settingsCreateAction instead, and possibly combine its use with settingsBind.

Since: 2.38

Synopsis

Exported types

newtype PropertyAction Source #

Memory-managed wrapper type.

Instances

Instances details
Eq PropertyAction Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

GObject PropertyAction Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

ManagedPtrNewtype PropertyAction Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

TypedObject PropertyAction Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

Methods

glibType :: IO GType #

HasParentTypes PropertyAction Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

HasAttributeList PropertyAction Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

(info ~ ResolvePropertyActionMethod t PropertyAction, OverloadedMethod info PropertyAction p, HasField t PropertyAction p) => HasField (t :: Symbol) PropertyAction (p :: Type) Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

Methods

getField :: PropertyAction -> p #

(info ~ ResolvePropertyActionMethod t PropertyAction, OverloadedMethodInfo info PropertyAction) => IsLabel t (MethodProxy info PropertyAction) Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

(info ~ ResolvePropertyActionMethod t PropertyAction, OverloadedMethod info PropertyAction p) => IsLabel t (PropertyAction -> p) Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

Methods

fromLabel :: PropertyAction -> p #

IsGValue (Maybe PropertyAction) Source #

Convert PropertyAction to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttributeList PropertyAction Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type ParentTypes PropertyAction Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type SignalList PropertyAction Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

class (GObject o, IsDescendantOf PropertyAction o) => IsPropertyAction o Source #

Type class for types which can be safely cast to PropertyAction, for instance with toPropertyAction.

Instances

Instances details
(GObject o, IsDescendantOf PropertyAction o) => IsPropertyAction o Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

toPropertyAction :: (MonadIO m, IsPropertyAction o) => o -> m PropertyAction Source #

Cast to PropertyAction, for types for which this is known to be safe. For general casts, use castTo.

Methods

type family ResolvePropertyActionMethod (t :: Symbol) o where ... Source #

Equations

ResolvePropertyActionMethod "activate" o = ActionActivateMethodInfo 
ResolvePropertyActionMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolvePropertyActionMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolvePropertyActionMethod "changeState" o = ActionChangeStateMethodInfo 
ResolvePropertyActionMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolvePropertyActionMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolvePropertyActionMethod "getv" o = ObjectGetvMethodInfo 
ResolvePropertyActionMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolvePropertyActionMethod "notify" o = ObjectNotifyMethodInfo 
ResolvePropertyActionMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolvePropertyActionMethod "ref" o = ObjectRefMethodInfo 
ResolvePropertyActionMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolvePropertyActionMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolvePropertyActionMethod "stealData" o = ObjectStealDataMethodInfo 
ResolvePropertyActionMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolvePropertyActionMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolvePropertyActionMethod "unref" o = ObjectUnrefMethodInfo 
ResolvePropertyActionMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolvePropertyActionMethod "getData" o = ObjectGetDataMethodInfo 
ResolvePropertyActionMethod "getEnabled" o = ActionGetEnabledMethodInfo 
ResolvePropertyActionMethod "getName" o = ActionGetNameMethodInfo 
ResolvePropertyActionMethod "getParameterType" o = ActionGetParameterTypeMethodInfo 
ResolvePropertyActionMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolvePropertyActionMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolvePropertyActionMethod "getState" o = ActionGetStateMethodInfo 
ResolvePropertyActionMethod "getStateHint" o = ActionGetStateHintMethodInfo 
ResolvePropertyActionMethod "getStateType" o = ActionGetStateTypeMethodInfo 
ResolvePropertyActionMethod "setData" o = ObjectSetDataMethodInfo 
ResolvePropertyActionMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolvePropertyActionMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolvePropertyActionMethod l o = MethodResolutionFailed l o :: Type 

new

propertyActionNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsObject a) 
=> Text

name: the name of the action to create

-> a

object: the object that has the property to wrap

-> Text

propertyName: the name of the property

-> m PropertyAction

Returns: a new PropertyAction

Creates a Action corresponding to the value of property propertyName on object.

The property must be existent and readable and writable (and not construct-only).

This function takes a reference on object and doesn't release it until the action is destroyed.

Since: 2.38

Properties

enabled

If action is currently enabled.

If the action is disabled then calls to actionActivate and actionChangeState have no effect.

Since: 2.38

data PropertyActionEnabledPropertyInfo Source #

Instances

Instances details
AttrInfo PropertyActionEnabledPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrAllowedOps PropertyActionEnabledPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionEnabledPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionEnabledPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionEnabledPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionEnabledPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionEnabledPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionEnabledPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionEnabledPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

getPropertyActionEnabled :: (MonadIO m, IsPropertyAction o) => o -> m Bool Source #

Get the value of the “enabled” property. When overloading is enabled, this is equivalent to

get propertyAction #enabled

invertBoolean

If True, the state of the action will be the negation of the property value, provided the property is boolean.

Since: 2.46

data PropertyActionInvertBooleanPropertyInfo Source #

Instances

Instances details
AttrInfo PropertyActionInvertBooleanPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

Associated Types

type AttrAllowedOps PropertyActionInvertBooleanPropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionInvertBooleanPropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionInvertBooleanPropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionInvertBooleanPropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionInvertBooleanPropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionInvertBooleanPropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionInvertBooleanPropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionInvertBooleanPropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrAllowedOps PropertyActionInvertBooleanPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionInvertBooleanPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionInvertBooleanPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionInvertBooleanPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionInvertBooleanPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionInvertBooleanPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionInvertBooleanPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionInvertBooleanPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

constructPropertyActionInvertBoolean :: (IsPropertyAction o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “invert-boolean” property. This is rarely needed directly, but it is used by new.

getPropertyActionInvertBoolean :: (MonadIO m, IsPropertyAction o) => o -> m Bool Source #

Get the value of the “invert-boolean” property. When overloading is enabled, this is equivalent to

get propertyAction #invertBoolean

name

The name of the action. This is mostly meaningful for identifying the action once it has been added to a ActionMap.

Since: 2.38

data PropertyActionNamePropertyInfo Source #

Instances

Instances details
AttrInfo PropertyActionNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrAllowedOps PropertyActionNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

constructPropertyActionName :: (IsPropertyAction o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “name” property. This is rarely needed directly, but it is used by new.

getPropertyActionName :: (MonadIO m, IsPropertyAction o) => o -> m (Maybe Text) Source #

Get the value of the “name” property. When overloading is enabled, this is equivalent to

get propertyAction #name

object

The object to wrap a property on.

The object must be a non-Nothing Object with properties.

Since: 2.38

data PropertyActionObjectPropertyInfo Source #

Instances

Instances details
AttrInfo PropertyActionObjectPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrAllowedOps PropertyActionObjectPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionObjectPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionObjectPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionObjectPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionObjectPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionObjectPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionObjectPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionObjectPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

constructPropertyActionObject :: (IsPropertyAction o, MonadIO m, IsObject a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “object” property. This is rarely needed directly, but it is used by new.

parameterType

The type of the parameter that must be given when activating the action.

Since: 2.38

data PropertyActionParameterTypePropertyInfo Source #

Instances

Instances details
AttrInfo PropertyActionParameterTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

Associated Types

type AttrAllowedOps PropertyActionParameterTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionParameterTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionParameterTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionParameterTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionParameterTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionParameterTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionParameterTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionParameterTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrAllowedOps PropertyActionParameterTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionParameterTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionParameterTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionParameterTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionParameterTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionParameterTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionParameterTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionParameterTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

getPropertyActionParameterType :: (MonadIO m, IsPropertyAction o) => o -> m (Maybe VariantType) Source #

Get the value of the “parameter-type” property. When overloading is enabled, this is equivalent to

get propertyAction #parameterType

propertyName

The name of the property to wrap on the object.

The property must exist on the passed-in object and it must be readable and writable (and not construct-only).

Since: 2.38

data PropertyActionPropertyNamePropertyInfo Source #

Instances

Instances details
AttrInfo PropertyActionPropertyNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

Associated Types

type AttrAllowedOps PropertyActionPropertyNamePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionPropertyNamePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionPropertyNamePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionPropertyNamePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionPropertyNamePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionPropertyNamePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionPropertyNamePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionPropertyNamePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrAllowedOps PropertyActionPropertyNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionPropertyNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionPropertyNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionPropertyNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionPropertyNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionPropertyNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionPropertyNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionPropertyNamePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

constructPropertyActionPropertyName :: (IsPropertyAction o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “property-name” property. This is rarely needed directly, but it is used by new.

state

The state of the action, or Nothing if the action is stateless.

Since: 2.38

data PropertyActionStatePropertyInfo Source #

Instances

Instances details
AttrInfo PropertyActionStatePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrAllowedOps PropertyActionStatePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionStatePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionStatePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionStatePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionStatePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionStatePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionStatePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionStatePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

getPropertyActionState :: (MonadIO m, IsPropertyAction o) => o -> m (Maybe GVariant) Source #

Get the value of the “state” property. When overloading is enabled, this is equivalent to

get propertyAction #state

stateType

The VariantType of the state that the action has, or Nothing if the action is stateless.

Since: 2.38

data PropertyActionStateTypePropertyInfo Source #

Instances

Instances details
AttrInfo PropertyActionStateTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

Associated Types

type AttrAllowedOps PropertyActionStateTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionStateTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionStateTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionStateTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionStateTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionStateTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionStateTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionStateTypePropertyInfo 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrAllowedOps PropertyActionStateTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrBaseTypeConstraint PropertyActionStateTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrGetType PropertyActionStateTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrLabel PropertyActionStateTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrOrigin PropertyActionStateTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrSetTypeConstraint PropertyActionStateTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferType PropertyActionStateTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

type AttrTransferTypeConstraint PropertyActionStateTypePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.PropertyAction

getPropertyActionStateType :: (MonadIO m, IsPropertyAction o) => o -> m (Maybe VariantType) Source #

Get the value of the “state-type” property. When overloading is enabled, this is equivalent to

get propertyAction #stateType