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 Style = Style (ForeignPtr Style)
- class GObject o => StyleK o
- toStyle :: StyleK o => o -> IO Style
- noStyle :: Maybe Style
- data StyleCopyMethodInfo
- styleCopy :: (MonadIO m, StyleK a) => a -> m Style
- data StyleBackgroundPropertyInfo
- constructStyleBackground :: Text -> IO ([Char], GValue)
- getStyleBackground :: (MonadIO m, StyleK o) => o -> m (Maybe Text)
- styleBackground :: AttrLabelProxy "background"
- data StyleBackgroundSetPropertyInfo
- constructStyleBackgroundSet :: Bool -> IO ([Char], GValue)
- getStyleBackgroundSet :: (MonadIO m, StyleK o) => o -> m Bool
- styleBackgroundSet :: AttrLabelProxy "backgroundSet"
- data StyleBoldPropertyInfo
- constructStyleBold :: Bool -> IO ([Char], GValue)
- getStyleBold :: (MonadIO m, StyleK o) => o -> m Bool
- styleBold :: AttrLabelProxy "bold"
- data StyleBoldSetPropertyInfo
- constructStyleBoldSet :: Bool -> IO ([Char], GValue)
- getStyleBoldSet :: (MonadIO m, StyleK o) => o -> m Bool
- styleBoldSet :: AttrLabelProxy "boldSet"
- data StyleForegroundPropertyInfo
- constructStyleForeground :: Text -> IO ([Char], GValue)
- getStyleForeground :: (MonadIO m, StyleK o) => o -> m (Maybe Text)
- styleForeground :: AttrLabelProxy "foreground"
- data StyleForegroundSetPropertyInfo
- constructStyleForegroundSet :: Bool -> IO ([Char], GValue)
- getStyleForegroundSet :: (MonadIO m, StyleK o) => o -> m Bool
- styleForegroundSet :: AttrLabelProxy "foregroundSet"
- data StyleItalicPropertyInfo
- constructStyleItalic :: Bool -> IO ([Char], GValue)
- getStyleItalic :: (MonadIO m, StyleK o) => o -> m Bool
- styleItalic :: AttrLabelProxy "italic"
- data StyleItalicSetPropertyInfo
- constructStyleItalicSet :: Bool -> IO ([Char], GValue)
- getStyleItalicSet :: (MonadIO m, StyleK o) => o -> m Bool
- styleItalicSet :: AttrLabelProxy "italicSet"
- data StyleLineBackgroundPropertyInfo
- constructStyleLineBackground :: Text -> IO ([Char], GValue)
- getStyleLineBackground :: (MonadIO m, StyleK o) => o -> m (Maybe Text)
- styleLineBackground :: AttrLabelProxy "lineBackground"
- data StyleLineBackgroundSetPropertyInfo
- constructStyleLineBackgroundSet :: Bool -> IO ([Char], GValue)
- getStyleLineBackgroundSet :: (MonadIO m, StyleK o) => o -> m Bool
- styleLineBackgroundSet :: AttrLabelProxy "lineBackgroundSet"
- data StylePangoUnderlinePropertyInfo
- constructStylePangoUnderline :: Underline -> IO ([Char], GValue)
- getStylePangoUnderline :: (MonadIO m, StyleK o) => o -> m Underline
- stylePangoUnderline :: AttrLabelProxy "pangoUnderline"
- data StyleScalePropertyInfo
- constructStyleScale :: Text -> IO ([Char], GValue)
- getStyleScale :: (MonadIO m, StyleK o) => o -> m (Maybe Text)
- styleScale :: AttrLabelProxy "scale"
- data StyleScaleSetPropertyInfo
- constructStyleScaleSet :: Bool -> IO ([Char], GValue)
- getStyleScaleSet :: (MonadIO m, StyleK o) => o -> m Bool
- styleScaleSet :: AttrLabelProxy "scaleSet"
- data StyleStrikethroughPropertyInfo
- constructStyleStrikethrough :: Bool -> IO ([Char], GValue)
- getStyleStrikethrough :: (MonadIO m, StyleK o) => o -> m Bool
- styleStrikethrough :: AttrLabelProxy "strikethrough"
- data StyleStrikethroughSetPropertyInfo
- constructStyleStrikethroughSet :: Bool -> IO ([Char], GValue)
- getStyleStrikethroughSet :: (MonadIO m, StyleK o) => o -> m Bool
- styleStrikethroughSet :: AttrLabelProxy "strikethroughSet"
- data StyleUnderlinePropertyInfo
- constructStyleUnderline :: Bool -> IO ([Char], GValue)
- getStyleUnderline :: (MonadIO m, StyleK o) => o -> m Bool
- styleUnderline :: AttrLabelProxy "underline"
- data StyleUnderlineColorPropertyInfo
- constructStyleUnderlineColor :: Text -> IO ([Char], GValue)
- getStyleUnderlineColor :: (MonadIO m, StyleK o) => o -> m (Maybe Text)
- styleUnderlineColor :: AttrLabelProxy "underlineColor"
- data StyleUnderlineColorSetPropertyInfo
- constructStyleUnderlineColorSet :: Bool -> IO ([Char], GValue)
- getStyleUnderlineColorSet :: (MonadIO m, StyleK o) => o -> m Bool
- styleUnderlineColorSet :: AttrLabelProxy "underlineColorSet"
- data StyleUnderlineSetPropertyInfo
- constructStyleUnderlineSet :: Bool -> IO ([Char], GValue)
- getStyleUnderlineSet :: (MonadIO m, StyleK o) => o -> m Bool
- styleUnderlineSet :: AttrLabelProxy "underlineSet"
Exported types
GObject Style | |
((~) * info (ResolveStyleMethod t Style), MethodInfo * info Style p) => IsLabelProxy t (Style -> p) | |
type ParentTypes Style | |
type AttributeList Style | |
type SignalList Style |
Methods
styleCopy
data StyleCopyMethodInfo Source
((~) * signature (m Style), MonadIO m, StyleK a) => MethodInfo * StyleCopyMethodInfo a signature |
Properties
Background
data StyleBackgroundPropertyInfo Source
AttrInfo StyleBackgroundPropertyInfo | |
type AttrLabel StyleBackgroundPropertyInfo = "background" | |
type AttrGetType StyleBackgroundPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint StyleBackgroundPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleBackgroundPropertyInfo = * ~ Text | |
type AttrAllowedOps StyleBackgroundPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
styleBackground :: AttrLabelProxy "background" Source
BackgroundSet
data StyleBackgroundSetPropertyInfo Source
AttrInfo StyleBackgroundSetPropertyInfo | |
type AttrLabel StyleBackgroundSetPropertyInfo = "background-set" | |
type AttrGetType StyleBackgroundSetPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleBackgroundSetPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleBackgroundSetPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleBackgroundSetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleBackgroundSet :: (MonadIO m, StyleK o) => o -> m Bool Source
styleBackgroundSet :: AttrLabelProxy "backgroundSet" Source
Bold
data StyleBoldPropertyInfo Source
AttrInfo StyleBoldPropertyInfo | |
type AttrLabel StyleBoldPropertyInfo = "bold" | |
type AttrGetType StyleBoldPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleBoldPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleBoldPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleBoldPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleBold :: (MonadIO m, StyleK o) => o -> m Bool Source
styleBold :: AttrLabelProxy "bold" Source
BoldSet
data StyleBoldSetPropertyInfo Source
AttrInfo StyleBoldSetPropertyInfo | |
type AttrLabel StyleBoldSetPropertyInfo = "bold-set" | |
type AttrGetType StyleBoldSetPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleBoldSetPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleBoldSetPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleBoldSetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleBoldSet :: (MonadIO m, StyleK o) => o -> m Bool Source
styleBoldSet :: AttrLabelProxy "boldSet" Source
Foreground
data StyleForegroundPropertyInfo Source
AttrInfo StyleForegroundPropertyInfo | |
type AttrLabel StyleForegroundPropertyInfo = "foreground" | |
type AttrGetType StyleForegroundPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint StyleForegroundPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleForegroundPropertyInfo = * ~ Text | |
type AttrAllowedOps StyleForegroundPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
styleForeground :: AttrLabelProxy "foreground" Source
ForegroundSet
data StyleForegroundSetPropertyInfo Source
AttrInfo StyleForegroundSetPropertyInfo | |
type AttrLabel StyleForegroundSetPropertyInfo = "foreground-set" | |
type AttrGetType StyleForegroundSetPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleForegroundSetPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleForegroundSetPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleForegroundSetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleForegroundSet :: (MonadIO m, StyleK o) => o -> m Bool Source
styleForegroundSet :: AttrLabelProxy "foregroundSet" Source
Italic
data StyleItalicPropertyInfo Source
AttrInfo StyleItalicPropertyInfo | |
type AttrLabel StyleItalicPropertyInfo = "italic" | |
type AttrGetType StyleItalicPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleItalicPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleItalicPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleItalicPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleItalic :: (MonadIO m, StyleK o) => o -> m Bool Source
styleItalic :: AttrLabelProxy "italic" Source
ItalicSet
data StyleItalicSetPropertyInfo Source
AttrInfo StyleItalicSetPropertyInfo | |
type AttrLabel StyleItalicSetPropertyInfo = "italic-set" | |
type AttrGetType StyleItalicSetPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleItalicSetPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleItalicSetPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleItalicSetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleItalicSet :: (MonadIO m, StyleK o) => o -> m Bool Source
styleItalicSet :: AttrLabelProxy "italicSet" Source
LineBackground
data StyleLineBackgroundPropertyInfo Source
AttrInfo StyleLineBackgroundPropertyInfo | |
type AttrLabel StyleLineBackgroundPropertyInfo = "line-background" | |
type AttrGetType StyleLineBackgroundPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint StyleLineBackgroundPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleLineBackgroundPropertyInfo = * ~ Text | |
type AttrAllowedOps StyleLineBackgroundPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
styleLineBackground :: AttrLabelProxy "lineBackground" Source
LineBackgroundSet
data StyleLineBackgroundSetPropertyInfo Source
AttrInfo StyleLineBackgroundSetPropertyInfo | |
type AttrLabel StyleLineBackgroundSetPropertyInfo = "line-background-set" | |
type AttrGetType StyleLineBackgroundSetPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleLineBackgroundSetPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleLineBackgroundSetPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleLineBackgroundSetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleLineBackgroundSet :: (MonadIO m, StyleK o) => o -> m Bool Source
styleLineBackgroundSet :: AttrLabelProxy "lineBackgroundSet" Source
PangoUnderline
data StylePangoUnderlinePropertyInfo Source
AttrInfo StylePangoUnderlinePropertyInfo | |
type AttrLabel StylePangoUnderlinePropertyInfo = "pango-underline" | |
type AttrGetType StylePangoUnderlinePropertyInfo = Underline | |
type AttrBaseTypeConstraint StylePangoUnderlinePropertyInfo = StyleK | |
type AttrSetTypeConstraint StylePangoUnderlinePropertyInfo = * ~ Underline | |
type AttrAllowedOps StylePangoUnderlinePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStylePangoUnderline :: (MonadIO m, StyleK o) => o -> m Underline Source
stylePangoUnderline :: AttrLabelProxy "pangoUnderline" Source
Scale
data StyleScalePropertyInfo Source
AttrInfo StyleScalePropertyInfo | |
type AttrLabel StyleScalePropertyInfo = "scale" | |
type AttrGetType StyleScalePropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint StyleScalePropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleScalePropertyInfo = * ~ Text | |
type AttrAllowedOps StyleScalePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
styleScale :: AttrLabelProxy "scale" Source
ScaleSet
data StyleScaleSetPropertyInfo Source
AttrInfo StyleScaleSetPropertyInfo | |
type AttrLabel StyleScaleSetPropertyInfo = "scale-set" | |
type AttrGetType StyleScaleSetPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleScaleSetPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleScaleSetPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleScaleSetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleScaleSet :: (MonadIO m, StyleK o) => o -> m Bool Source
styleScaleSet :: AttrLabelProxy "scaleSet" Source
Strikethrough
data StyleStrikethroughPropertyInfo Source
AttrInfo StyleStrikethroughPropertyInfo | |
type AttrLabel StyleStrikethroughPropertyInfo = "strikethrough" | |
type AttrGetType StyleStrikethroughPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleStrikethroughPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleStrikethroughPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleStrikethroughPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleStrikethrough :: (MonadIO m, StyleK o) => o -> m Bool Source
styleStrikethrough :: AttrLabelProxy "strikethrough" Source
StrikethroughSet
data StyleStrikethroughSetPropertyInfo Source
AttrInfo StyleStrikethroughSetPropertyInfo | |
type AttrLabel StyleStrikethroughSetPropertyInfo = "strikethrough-set" | |
type AttrGetType StyleStrikethroughSetPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleStrikethroughSetPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleStrikethroughSetPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleStrikethroughSetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleStrikethroughSet :: (MonadIO m, StyleK o) => o -> m Bool Source
styleStrikethroughSet :: AttrLabelProxy "strikethroughSet" Source
Underline
data StyleUnderlinePropertyInfo Source
AttrInfo StyleUnderlinePropertyInfo | |
type AttrLabel StyleUnderlinePropertyInfo = "underline" | |
type AttrGetType StyleUnderlinePropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleUnderlinePropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleUnderlinePropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleUnderlinePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleUnderline :: (MonadIO m, StyleK o) => o -> m Bool Source
styleUnderline :: AttrLabelProxy "underline" Source
UnderlineColor
data StyleUnderlineColorPropertyInfo Source
AttrInfo StyleUnderlineColorPropertyInfo | |
type AttrLabel StyleUnderlineColorPropertyInfo = "underline-color" | |
type AttrGetType StyleUnderlineColorPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint StyleUnderlineColorPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleUnderlineColorPropertyInfo = * ~ Text | |
type AttrAllowedOps StyleUnderlineColorPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
styleUnderlineColor :: AttrLabelProxy "underlineColor" Source
UnderlineColorSet
data StyleUnderlineColorSetPropertyInfo Source
AttrInfo StyleUnderlineColorSetPropertyInfo | |
type AttrLabel StyleUnderlineColorSetPropertyInfo = "underline-color-set" | |
type AttrGetType StyleUnderlineColorSetPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleUnderlineColorSetPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleUnderlineColorSetPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleUnderlineColorSetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleUnderlineColorSet :: (MonadIO m, StyleK o) => o -> m Bool Source
styleUnderlineColorSet :: AttrLabelProxy "underlineColorSet" Source
UnderlineSet
data StyleUnderlineSetPropertyInfo Source
AttrInfo StyleUnderlineSetPropertyInfo | |
type AttrLabel StyleUnderlineSetPropertyInfo = "underline-set" | |
type AttrGetType StyleUnderlineSetPropertyInfo = Bool | |
type AttrBaseTypeConstraint StyleUnderlineSetPropertyInfo = StyleK | |
type AttrSetTypeConstraint StyleUnderlineSetPropertyInfo = * ~ Bool | |
type AttrAllowedOps StyleUnderlineSetPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getStyleUnderlineSet :: (MonadIO m, StyleK o) => o -> m Bool Source
styleUnderlineSet :: AttrLabelProxy "underlineSet" Source