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 |
- newtype PropertyAction = PropertyAction (ForeignPtr PropertyAction)
- class GObject o => PropertyActionK o
- toPropertyAction :: PropertyActionK o => o -> IO PropertyAction
- noPropertyAction :: Maybe PropertyAction
- propertyActionNew :: (MonadIO m, ObjectK a) => Text -> a -> Text -> m PropertyAction
- data PropertyActionEnabledPropertyInfo
- getPropertyActionEnabled :: (MonadIO m, PropertyActionK o) => o -> m Bool
- data PropertyActionInvertBooleanPropertyInfo
- constructPropertyActionInvertBoolean :: Bool -> IO ([Char], GValue)
- getPropertyActionInvertBoolean :: (MonadIO m, PropertyActionK o) => o -> m Bool
- data PropertyActionNamePropertyInfo
- constructPropertyActionName :: Text -> IO ([Char], GValue)
- getPropertyActionName :: (MonadIO m, PropertyActionK o) => o -> m Text
- data PropertyActionObjectPropertyInfo
- constructPropertyActionObject :: ObjectK a => a -> IO ([Char], GValue)
- data PropertyActionParameterTypePropertyInfo
- getPropertyActionParameterType :: (MonadIO m, PropertyActionK o) => o -> m VariantType
- data PropertyActionPropertyNamePropertyInfo
- constructPropertyActionPropertyName :: Text -> IO ([Char], GValue)
- data PropertyActionStatePropertyInfo
- getPropertyActionState :: (MonadIO m, PropertyActionK o) => o -> m GVariant
- data PropertyActionStateTypePropertyInfo
- getPropertyActionStateType :: (MonadIO m, PropertyActionK o) => o -> m VariantType
Exported types
newtype PropertyAction Source
class GObject o => PropertyActionK o Source
(GObject o, IsDescendantOf PropertyAction o) => PropertyActionK o |
toPropertyAction :: PropertyActionK o => o -> IO PropertyAction Source
Methods
propertyActionNew
propertyActionNew :: (MonadIO m, ObjectK a) => Text -> a -> Text -> m PropertyAction Source
Properties
Enabled
data PropertyActionEnabledPropertyInfo Source
AttrInfo PropertyActionEnabledPropertyInfo | |
type AttrLabel PropertyActionEnabledPropertyInfo = "PropertyAction::enabled" | |
type AttrGetType PropertyActionEnabledPropertyInfo = Bool | |
type AttrBaseTypeConstraint PropertyActionEnabledPropertyInfo = PropertyActionK | |
type AttrSetTypeConstraint PropertyActionEnabledPropertyInfo = * ~ () | |
type AttrAllowedOps PropertyActionEnabledPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getPropertyActionEnabled :: (MonadIO m, PropertyActionK o) => o -> m Bool Source
InvertBoolean
data PropertyActionInvertBooleanPropertyInfo Source
AttrInfo PropertyActionInvertBooleanPropertyInfo | |
type AttrLabel PropertyActionInvertBooleanPropertyInfo = "PropertyAction::invert-boolean" | |
type AttrGetType PropertyActionInvertBooleanPropertyInfo = Bool | |
type AttrBaseTypeConstraint PropertyActionInvertBooleanPropertyInfo = PropertyActionK | |
type AttrSetTypeConstraint PropertyActionInvertBooleanPropertyInfo = * ~ Bool | |
type AttrAllowedOps PropertyActionInvertBooleanPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getPropertyActionInvertBoolean :: (MonadIO m, PropertyActionK o) => o -> m Bool Source
Name
data PropertyActionNamePropertyInfo Source
AttrInfo PropertyActionNamePropertyInfo | |
type AttrLabel PropertyActionNamePropertyInfo = "PropertyAction::name" | |
type AttrGetType PropertyActionNamePropertyInfo = Text | |
type AttrBaseTypeConstraint PropertyActionNamePropertyInfo = PropertyActionK | |
type AttrSetTypeConstraint PropertyActionNamePropertyInfo = * ~ Text | |
type AttrAllowedOps PropertyActionNamePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getPropertyActionName :: (MonadIO m, PropertyActionK o) => o -> m Text Source
Object
data PropertyActionObjectPropertyInfo Source
AttrInfo PropertyActionObjectPropertyInfo | |
type AttrLabel PropertyActionObjectPropertyInfo = "PropertyAction::object" | |
type AttrGetType PropertyActionObjectPropertyInfo = () | |
type AttrBaseTypeConstraint PropertyActionObjectPropertyInfo = PropertyActionK | |
type AttrSetTypeConstraint PropertyActionObjectPropertyInfo = ObjectK | |
type AttrAllowedOps PropertyActionObjectPropertyInfo = (:) AttrOpTag AttrConstruct ([] AttrOpTag) |
ParameterType
data PropertyActionParameterTypePropertyInfo Source
AttrInfo PropertyActionParameterTypePropertyInfo | |
type AttrLabel PropertyActionParameterTypePropertyInfo = "PropertyAction::parameter-type" | |
type AttrGetType PropertyActionParameterTypePropertyInfo = VariantType | |
type AttrBaseTypeConstraint PropertyActionParameterTypePropertyInfo = PropertyActionK | |
type AttrSetTypeConstraint PropertyActionParameterTypePropertyInfo = * ~ () | |
type AttrAllowedOps PropertyActionParameterTypePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getPropertyActionParameterType :: (MonadIO m, PropertyActionK o) => o -> m VariantType Source
PropertyName
data PropertyActionPropertyNamePropertyInfo Source
AttrInfo PropertyActionPropertyNamePropertyInfo | |
type AttrLabel PropertyActionPropertyNamePropertyInfo = "PropertyAction::property-name" | |
type AttrGetType PropertyActionPropertyNamePropertyInfo = () | |
type AttrBaseTypeConstraint PropertyActionPropertyNamePropertyInfo = PropertyActionK | |
type AttrSetTypeConstraint PropertyActionPropertyNamePropertyInfo = * ~ Text | |
type AttrAllowedOps PropertyActionPropertyNamePropertyInfo = (:) AttrOpTag AttrConstruct ([] AttrOpTag) |
State
data PropertyActionStatePropertyInfo Source
AttrInfo PropertyActionStatePropertyInfo | |
type AttrLabel PropertyActionStatePropertyInfo = "PropertyAction::state" | |
type AttrGetType PropertyActionStatePropertyInfo = GVariant | |
type AttrBaseTypeConstraint PropertyActionStatePropertyInfo = PropertyActionK | |
type AttrSetTypeConstraint PropertyActionStatePropertyInfo = * ~ () | |
type AttrAllowedOps PropertyActionStatePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getPropertyActionState :: (MonadIO m, PropertyActionK o) => o -> m GVariant Source
StateType
data PropertyActionStateTypePropertyInfo Source
AttrInfo PropertyActionStateTypePropertyInfo | |
type AttrLabel PropertyActionStateTypePropertyInfo = "PropertyAction::state-type" | |
type AttrGetType PropertyActionStateTypePropertyInfo = VariantType | |
type AttrBaseTypeConstraint PropertyActionStateTypePropertyInfo = PropertyActionK | |
type AttrSetTypeConstraint PropertyActionStateTypePropertyInfo = * ~ () | |
type AttrAllowedOps PropertyActionStateTypePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getPropertyActionStateType :: (MonadIO m, PropertyActionK o) => o -> m VariantType Source