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 ModelButton = ModelButton (ForeignPtr ModelButton)
- class GObject o => ModelButtonK o
- toModelButton :: ModelButtonK o => o -> IO ModelButton
- noModelButton :: Maybe ModelButton
- modelButtonNew :: MonadIO m => m ModelButton
- data ModelButtonActivePropertyInfo
- constructModelButtonActive :: Bool -> IO ([Char], GValue)
- getModelButtonActive :: (MonadIO m, ModelButtonK o) => o -> m Bool
- setModelButtonActive :: (MonadIO m, ModelButtonK o) => o -> Bool -> m ()
- data ModelButtonCenteredPropertyInfo
- constructModelButtonCentered :: Bool -> IO ([Char], GValue)
- getModelButtonCentered :: (MonadIO m, ModelButtonK o) => o -> m Bool
- setModelButtonCentered :: (MonadIO m, ModelButtonK o) => o -> Bool -> m ()
- data ModelButtonIconPropertyInfo
- constructModelButtonIcon :: IconK a => a -> IO ([Char], GValue)
- getModelButtonIcon :: (MonadIO m, ModelButtonK o) => o -> m Icon
- setModelButtonIcon :: (MonadIO m, ModelButtonK o, IconK a) => o -> a -> m ()
- data ModelButtonIconicPropertyInfo
- constructModelButtonIconic :: Bool -> IO ([Char], GValue)
- getModelButtonIconic :: (MonadIO m, ModelButtonK o) => o -> m Bool
- setModelButtonIconic :: (MonadIO m, ModelButtonK o) => o -> Bool -> m ()
- data ModelButtonInvertedPropertyInfo
- constructModelButtonInverted :: Bool -> IO ([Char], GValue)
- getModelButtonInverted :: (MonadIO m, ModelButtonK o) => o -> m Bool
- setModelButtonInverted :: (MonadIO m, ModelButtonK o) => o -> Bool -> m ()
- data ModelButtonMenuNamePropertyInfo
- constructModelButtonMenuName :: Text -> IO ([Char], GValue)
- getModelButtonMenuName :: (MonadIO m, ModelButtonK o) => o -> m Text
- setModelButtonMenuName :: (MonadIO m, ModelButtonK o) => o -> Text -> m ()
- data ModelButtonRolePropertyInfo
- constructModelButtonRole :: ButtonRole -> IO ([Char], GValue)
- getModelButtonRole :: (MonadIO m, ModelButtonK o) => o -> m ButtonRole
- setModelButtonRole :: (MonadIO m, ModelButtonK o) => o -> ButtonRole -> m ()
- data ModelButtonTextPropertyInfo
- constructModelButtonText :: Text -> IO ([Char], GValue)
- getModelButtonText :: (MonadIO m, ModelButtonK o) => o -> m Text
- setModelButtonText :: (MonadIO m, ModelButtonK o) => o -> Text -> m ()
Exported types
newtype ModelButton Source
GObject ModelButton Source | |
((~) * info (ResolveModelButtonMethod t ModelButton), MethodInfo * info ModelButton p) => IsLabel t (ModelButton -> p) Source | |
((~) * info (ResolveModelButtonMethod t ModelButton), MethodInfo * info ModelButton p) => IsLabelProxy t (ModelButton -> p) Source | |
type ParentTypes ModelButton Source | |
type AttributeList ModelButton Source | |
type SignalList ModelButton Source |
class GObject o => ModelButtonK o Source
(GObject o, IsDescendantOf ModelButton o) => ModelButtonK o Source | |
toModelButton :: ModelButtonK o => o -> IO ModelButton Source
Methods
modelButtonNew
modelButtonNew :: MonadIO m => m ModelButton Source
Properties
Active
data ModelButtonActivePropertyInfo Source
getModelButtonActive :: (MonadIO m, ModelButtonK o) => o -> m Bool Source
setModelButtonActive :: (MonadIO m, ModelButtonK o) => o -> Bool -> m () Source
Centered
data ModelButtonCenteredPropertyInfo Source
getModelButtonCentered :: (MonadIO m, ModelButtonK o) => o -> m Bool Source
setModelButtonCentered :: (MonadIO m, ModelButtonK o) => o -> Bool -> m () Source
Icon
data ModelButtonIconPropertyInfo Source
AttrInfo ModelButtonIconPropertyInfo Source | |
type AttrLabel ModelButtonIconPropertyInfo = "icon" Source | |
type AttrGetType ModelButtonIconPropertyInfo = Icon Source | |
type AttrBaseTypeConstraint ModelButtonIconPropertyInfo = ModelButtonK Source | |
type AttrSetTypeConstraint ModelButtonIconPropertyInfo = IconK Source | |
type AttrAllowedOps ModelButtonIconPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructModelButtonIcon :: IconK a => a -> IO ([Char], GValue) Source
getModelButtonIcon :: (MonadIO m, ModelButtonK o) => o -> m Icon Source
setModelButtonIcon :: (MonadIO m, ModelButtonK o, IconK a) => o -> a -> m () Source
Iconic
data ModelButtonIconicPropertyInfo Source
getModelButtonIconic :: (MonadIO m, ModelButtonK o) => o -> m Bool Source
setModelButtonIconic :: (MonadIO m, ModelButtonK o) => o -> Bool -> m () Source
Inverted
data ModelButtonInvertedPropertyInfo Source
getModelButtonInverted :: (MonadIO m, ModelButtonK o) => o -> m Bool Source
setModelButtonInverted :: (MonadIO m, ModelButtonK o) => o -> Bool -> m () Source
MenuName
data ModelButtonMenuNamePropertyInfo Source
getModelButtonMenuName :: (MonadIO m, ModelButtonK o) => o -> m Text Source
setModelButtonMenuName :: (MonadIO m, ModelButtonK o) => o -> Text -> m () Source
Role
data ModelButtonRolePropertyInfo Source
constructModelButtonRole :: ButtonRole -> IO ([Char], GValue) Source
getModelButtonRole :: (MonadIO m, ModelButtonK o) => o -> m ButtonRole Source
setModelButtonRole :: (MonadIO m, ModelButtonK o) => o -> ButtonRole -> m () Source
Text
data ModelButtonTextPropertyInfo Source
AttrInfo ModelButtonTextPropertyInfo Source | |
type AttrLabel ModelButtonTextPropertyInfo = "text" Source | |
type AttrGetType ModelButtonTextPropertyInfo = Text Source | |
type AttrBaseTypeConstraint ModelButtonTextPropertyInfo = ModelButtonK Source | |
type AttrSetTypeConstraint ModelButtonTextPropertyInfo = TYPE Lifted ~ Text Source | |
type AttrAllowedOps ModelButtonTextPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getModelButtonText :: (MonadIO m, ModelButtonK o) => o -> m Text Source
setModelButtonText :: (MonadIO m, ModelButtonK o) => o -> Text -> m () Source