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 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 Source |
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 Source | |
type AttrLabel PropertyActionEnabledPropertyInfo = "PropertyAction::enabled" Source | |
type AttrGetType PropertyActionEnabledPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint PropertyActionEnabledPropertyInfo = PropertyActionK Source | |
type AttrSetTypeConstraint PropertyActionEnabledPropertyInfo = * ~ () Source | |
type AttrAllowedOps PropertyActionEnabledPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getPropertyActionEnabled :: (MonadIO m, PropertyActionK o) => o -> m Bool Source
Name
data PropertyActionNamePropertyInfo Source
AttrInfo PropertyActionNamePropertyInfo Source | |
type AttrLabel PropertyActionNamePropertyInfo = "PropertyAction::name" Source | |
type AttrGetType PropertyActionNamePropertyInfo = Text Source | |
type AttrBaseTypeConstraint PropertyActionNamePropertyInfo = PropertyActionK Source | |
type AttrSetTypeConstraint PropertyActionNamePropertyInfo = * ~ Text Source | |
type AttrAllowedOps PropertyActionNamePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getPropertyActionName :: (MonadIO m, PropertyActionK o) => o -> m Text Source
Object
data PropertyActionObjectPropertyInfo Source
AttrInfo PropertyActionObjectPropertyInfo Source | |
type AttrLabel PropertyActionObjectPropertyInfo = "PropertyAction::object" Source | |
type AttrGetType PropertyActionObjectPropertyInfo = () Source | |
type AttrBaseTypeConstraint PropertyActionObjectPropertyInfo = PropertyActionK Source | |
type AttrSetTypeConstraint PropertyActionObjectPropertyInfo = ObjectK Source | |
type AttrAllowedOps PropertyActionObjectPropertyInfo = (:) AttrOpTag AttrConstruct ([] AttrOpTag) Source |
ParameterType
data PropertyActionParameterTypePropertyInfo Source
AttrInfo PropertyActionParameterTypePropertyInfo Source | |
type AttrLabel PropertyActionParameterTypePropertyInfo = "PropertyAction::parameter-type" Source | |
type AttrGetType PropertyActionParameterTypePropertyInfo = VariantType Source | |
type AttrBaseTypeConstraint PropertyActionParameterTypePropertyInfo = PropertyActionK Source | |
type AttrSetTypeConstraint PropertyActionParameterTypePropertyInfo = * ~ () Source | |
type AttrAllowedOps PropertyActionParameterTypePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getPropertyActionParameterType :: (MonadIO m, PropertyActionK o) => o -> m VariantType Source
PropertyName
data PropertyActionPropertyNamePropertyInfo Source
AttrInfo PropertyActionPropertyNamePropertyInfo Source | |
type AttrLabel PropertyActionPropertyNamePropertyInfo = "PropertyAction::property-name" Source | |
type AttrGetType PropertyActionPropertyNamePropertyInfo = () Source | |
type AttrBaseTypeConstraint PropertyActionPropertyNamePropertyInfo = PropertyActionK Source | |
type AttrSetTypeConstraint PropertyActionPropertyNamePropertyInfo = * ~ Text Source | |
type AttrAllowedOps PropertyActionPropertyNamePropertyInfo = (:) AttrOpTag AttrConstruct ([] AttrOpTag) Source |
State
data PropertyActionStatePropertyInfo Source
AttrInfo PropertyActionStatePropertyInfo Source | |
type AttrLabel PropertyActionStatePropertyInfo = "PropertyAction::state" Source | |
type AttrGetType PropertyActionStatePropertyInfo = GVariant Source | |
type AttrBaseTypeConstraint PropertyActionStatePropertyInfo = PropertyActionK Source | |
type AttrSetTypeConstraint PropertyActionStatePropertyInfo = * ~ () Source | |
type AttrAllowedOps PropertyActionStatePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getPropertyActionState :: (MonadIO m, PropertyActionK o) => o -> m GVariant Source
StateType
data PropertyActionStateTypePropertyInfo Source
AttrInfo PropertyActionStateTypePropertyInfo Source | |
type AttrLabel PropertyActionStateTypePropertyInfo = "PropertyAction::state-type" Source | |
type AttrGetType PropertyActionStateTypePropertyInfo = VariantType Source | |
type AttrBaseTypeConstraint PropertyActionStateTypePropertyInfo = PropertyActionK Source | |
type AttrSetTypeConstraint PropertyActionStateTypePropertyInfo = * ~ () Source | |
type AttrAllowedOps PropertyActionStateTypePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getPropertyActionStateType :: (MonadIO m, PropertyActionK o) => o -> m VariantType Source