| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gio.Interfaces.Action
Contents
Description
- newtype Action = Action (ManagedPtr Action)
- noAction :: Maybe Action
- class GObject o => IsAction o
- toAction :: IsAction o => o -> IO Action
- data ActionActivateMethodInfo
- actionActivate :: (MonadIO m, IsAction a) => a -> Maybe GVariant -> m ()
- data ActionChangeStateMethodInfo
- actionChangeState :: (MonadIO m, IsAction a) => a -> GVariant -> m ()
- data ActionGetEnabledMethodInfo
- actionGetEnabled :: (MonadIO m, IsAction a) => a -> m Bool
- data ActionGetNameMethodInfo
- actionGetName :: (MonadIO m, IsAction a) => a -> m Text
- data ActionGetParameterTypeMethodInfo
- actionGetParameterType :: (MonadIO m, IsAction a) => a -> m (Maybe VariantType)
- data ActionGetStateMethodInfo
- actionGetState :: (MonadIO m, IsAction a) => a -> m GVariant
- data ActionGetStateHintMethodInfo
- actionGetStateHint :: (MonadIO m, IsAction a) => a -> m (Maybe GVariant)
- data ActionGetStateTypeMethodInfo
- actionGetStateType :: (MonadIO m, IsAction a) => a -> m (Maybe VariantType)
- actionNameIsValid :: MonadIO m => Text -> m Bool
- actionParseDetailedName :: MonadIO m => Text -> m (Text, GVariant)
- actionPrintDetailedName :: MonadIO m => Text -> Maybe GVariant -> m Text
- data ActionEnabledPropertyInfo
- actionEnabled :: AttrLabelProxy "enabled"
- getActionEnabled :: (MonadIO m, IsAction o) => o -> m Bool
- data ActionNamePropertyInfo
- actionName :: AttrLabelProxy "name"
- getActionName :: (MonadIO m, IsAction o) => o -> m Text
- data ActionParameterTypePropertyInfo
- actionParameterType :: AttrLabelProxy "parameterType"
- getActionParameterType :: (MonadIO m, IsAction o) => o -> m (Maybe VariantType)
- data ActionStatePropertyInfo
- actionState :: AttrLabelProxy "state"
- getActionState :: (MonadIO m, IsAction o) => o -> m (Maybe GVariant)
- data ActionStateTypePropertyInfo
- actionStateType :: AttrLabelProxy "stateType"
- getActionStateType :: (MonadIO m, IsAction o) => o -> m (Maybe VariantType)
Exported types
Instances
| GObject Action Source # | |
| IsObject Action Source # | |
| IsAction Action Source # | |
| ((~) * info (ResolveActionMethod t Action), MethodInfo * info Action p) => IsLabel t (Action -> p) Source # | |
| ((~) * info (ResolveActionMethod t Action), MethodInfo * info Action p) => IsLabelProxy t (Action -> p) Source # | |
| HasAttributeList * Action Source # | |
| type SignalList Action Source # | |
| type AttributeList Action Source # | |
Methods
activate
changeState
actionChangeState :: (MonadIO m, IsAction a) => a -> GVariant -> m () Source #
getEnabled
getName
actionGetName :: (MonadIO m, IsAction a) => a -> m Text Source #
getParameterType
getState
actionGetState :: (MonadIO m, IsAction a) => a -> m GVariant Source #
getStateHint
getStateType
nameIsValid
actionNameIsValid :: MonadIO m => Text -> m Bool Source #
parseDetailedName
actionParseDetailedName :: MonadIO m => Text -> m (Text, GVariant) Source #
printDetailedName
actionPrintDetailedName :: MonadIO m => Text -> Maybe GVariant -> m Text Source #
Properties
enabled
data ActionEnabledPropertyInfo Source #
Instances
| AttrInfo ActionEnabledPropertyInfo Source # | |
| type AttrSetTypeConstraint ActionEnabledPropertyInfo Source # | |
| type AttrOrigin ActionEnabledPropertyInfo Source # | |
| type AttrLabel ActionEnabledPropertyInfo Source # | |
| type AttrGetType ActionEnabledPropertyInfo Source # | |
| type AttrBaseTypeConstraint ActionEnabledPropertyInfo Source # | |
| type AttrAllowedOps ActionEnabledPropertyInfo Source # | |
actionEnabled :: AttrLabelProxy "enabled" Source #
name
data ActionNamePropertyInfo Source #
Instances
| AttrInfo ActionNamePropertyInfo Source # | |
| type AttrSetTypeConstraint ActionNamePropertyInfo Source # | |
| type AttrOrigin ActionNamePropertyInfo Source # | |
| type AttrLabel ActionNamePropertyInfo Source # | |
| type AttrGetType ActionNamePropertyInfo Source # | |
| type AttrBaseTypeConstraint ActionNamePropertyInfo Source # | |
| type AttrAllowedOps ActionNamePropertyInfo Source # | |
actionName :: AttrLabelProxy "name" Source #
getActionName :: (MonadIO m, IsAction o) => o -> m Text Source #
parameterType
data ActionParameterTypePropertyInfo Source #
Instances
| AttrInfo ActionParameterTypePropertyInfo Source # | |
| type AttrSetTypeConstraint ActionParameterTypePropertyInfo Source # | |
| type AttrOrigin ActionParameterTypePropertyInfo Source # | |
| type AttrLabel ActionParameterTypePropertyInfo Source # | |
| type AttrGetType ActionParameterTypePropertyInfo Source # | |
| type AttrBaseTypeConstraint ActionParameterTypePropertyInfo Source # | |
| type AttrAllowedOps ActionParameterTypePropertyInfo Source # | |
actionParameterType :: AttrLabelProxy "parameterType" Source #
state
data ActionStatePropertyInfo Source #
Instances
| AttrInfo ActionStatePropertyInfo Source # | |
| type AttrSetTypeConstraint ActionStatePropertyInfo Source # | |
| type AttrOrigin ActionStatePropertyInfo Source # | |
| type AttrLabel ActionStatePropertyInfo Source # | |
| type AttrGetType ActionStatePropertyInfo Source # | |
| type AttrBaseTypeConstraint ActionStatePropertyInfo Source # | |
| type AttrAllowedOps ActionStatePropertyInfo Source # | |
actionState :: AttrLabelProxy "state" Source #
stateType
data ActionStateTypePropertyInfo Source #
Instances
| AttrInfo ActionStateTypePropertyInfo Source # | |
| type AttrSetTypeConstraint ActionStateTypePropertyInfo Source # | |
| type AttrOrigin ActionStateTypePropertyInfo Source # | |
| type AttrLabel ActionStateTypePropertyInfo Source # | |
| type AttrGetType ActionStateTypePropertyInfo Source # | |
| type AttrBaseTypeConstraint ActionStateTypePropertyInfo Source # | |
| type AttrAllowedOps ActionStateTypePropertyInfo Source # | |
actionStateType :: AttrLabelProxy "stateType" Source #