| 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.GtkSource.Objects.Style
Contents
Description
- newtype Style = Style (ManagedPtr Style)
- class GObject o => IsStyle o
- toStyle :: IsStyle o => o -> IO Style
- noStyle :: Maybe Style
- data StyleApplyMethodInfo
- styleApply :: (HasCallStack, MonadIO m, IsStyle a, IsTextTag b) => a -> b -> m ()
- data StyleCopyMethodInfo
- styleCopy :: (HasCallStack, MonadIO m, IsStyle a) => a -> m Style
- data StyleBackgroundPropertyInfo
- constructStyleBackground :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleBackground :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- styleBackground :: AttrLabelProxy "background"
- data StyleBackgroundSetPropertyInfo
- constructStyleBackgroundSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleBackgroundSet :: (MonadIO m, IsStyle o) => o -> m Bool
- styleBackgroundSet :: AttrLabelProxy "backgroundSet"
- data StyleBoldPropertyInfo
- constructStyleBold :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleBold :: (MonadIO m, IsStyle o) => o -> m Bool
- styleBold :: AttrLabelProxy "bold"
- data StyleBoldSetPropertyInfo
- constructStyleBoldSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleBoldSet :: (MonadIO m, IsStyle o) => o -> m Bool
- styleBoldSet :: AttrLabelProxy "boldSet"
- data StyleForegroundPropertyInfo
- constructStyleForeground :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleForeground :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- styleForeground :: AttrLabelProxy "foreground"
- data StyleForegroundSetPropertyInfo
- constructStyleForegroundSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleForegroundSet :: (MonadIO m, IsStyle o) => o -> m Bool
- styleForegroundSet :: AttrLabelProxy "foregroundSet"
- data StyleItalicPropertyInfo
- constructStyleItalic :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleItalic :: (MonadIO m, IsStyle o) => o -> m Bool
- styleItalic :: AttrLabelProxy "italic"
- data StyleItalicSetPropertyInfo
- constructStyleItalicSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleItalicSet :: (MonadIO m, IsStyle o) => o -> m Bool
- styleItalicSet :: AttrLabelProxy "italicSet"
- data StyleLineBackgroundPropertyInfo
- constructStyleLineBackground :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleLineBackground :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- styleLineBackground :: AttrLabelProxy "lineBackground"
- data StyleLineBackgroundSetPropertyInfo
- constructStyleLineBackgroundSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleLineBackgroundSet :: (MonadIO m, IsStyle o) => o -> m Bool
- styleLineBackgroundSet :: AttrLabelProxy "lineBackgroundSet"
- data StylePangoUnderlinePropertyInfo
- constructStylePangoUnderline :: IsStyle o => Underline -> IO (GValueConstruct o)
- getStylePangoUnderline :: (MonadIO m, IsStyle o) => o -> m Underline
- stylePangoUnderline :: AttrLabelProxy "pangoUnderline"
- data StyleScalePropertyInfo
- constructStyleScale :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleScale :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- styleScale :: AttrLabelProxy "scale"
- data StyleScaleSetPropertyInfo
- constructStyleScaleSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleScaleSet :: (MonadIO m, IsStyle o) => o -> m Bool
- styleScaleSet :: AttrLabelProxy "scaleSet"
- data StyleStrikethroughPropertyInfo
- constructStyleStrikethrough :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleStrikethrough :: (MonadIO m, IsStyle o) => o -> m Bool
- styleStrikethrough :: AttrLabelProxy "strikethrough"
- data StyleStrikethroughSetPropertyInfo
- constructStyleStrikethroughSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleStrikethroughSet :: (MonadIO m, IsStyle o) => o -> m Bool
- styleStrikethroughSet :: AttrLabelProxy "strikethroughSet"
- data StyleUnderlinePropertyInfo
- constructStyleUnderline :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleUnderline :: (MonadIO m, IsStyle o) => o -> m Bool
- styleUnderline :: AttrLabelProxy "underline"
- data StyleUnderlineColorPropertyInfo
- constructStyleUnderlineColor :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleUnderlineColor :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- styleUnderlineColor :: AttrLabelProxy "underlineColor"
- data StyleUnderlineColorSetPropertyInfo
- constructStyleUnderlineColorSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleUnderlineColorSet :: (MonadIO m, IsStyle o) => o -> m Bool
- styleUnderlineColorSet :: AttrLabelProxy "underlineColorSet"
- data StyleUnderlineSetPropertyInfo
- constructStyleUnderlineSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleUnderlineSet :: (MonadIO m, IsStyle o) => o -> m Bool
- styleUnderlineSet :: AttrLabelProxy "underlineSet"
Exported types
Constructors
| Style (ManagedPtr Style) |
Instances
| GObject Style Source # | |
| IsObject Style Source # | |
| IsStyle Style Source # | |
| ((~) * info (ResolveStyleMethod t Style), MethodInfo * info Style p) => IsLabel t (Style -> p) Source # | |
| ((~) * info (ResolveStyleMethod t Style), MethodInfo * info Style p) => IsLabelProxy t (Style -> p) Source # | |
| HasAttributeList * Style Source # | |
| type AttributeList Style Source # | |
| type SignalList Style Source # | |
Methods
apply
data StyleApplyMethodInfo Source #
Instances
| ((~) * signature (b -> m ()), MonadIO m, IsStyle a, IsTextTag b) => MethodInfo * StyleApplyMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsStyle a, IsTextTag b) | |
| => a | |
| -> b |
|
| -> m () |
copy
data StyleCopyMethodInfo Source #
Instances
| ((~) * signature (m Style), MonadIO m, IsStyle a) => MethodInfo * StyleCopyMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsStyle a) | |
| => a |
|
| -> m Style | Returns: copy of |
Creates a copy of style, that is a new Style instance which
has the same attributes set.
Since: 2.0
Properties
background
data StyleBackgroundPropertyInfo Source #
Instances
constructStyleBackground :: IsStyle o => Text -> IO (GValueConstruct o) Source #
styleBackground :: AttrLabelProxy "background" Source #
backgroundSet
data StyleBackgroundSetPropertyInfo Source #
Instances
constructStyleBackgroundSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleBackgroundSet :: AttrLabelProxy "backgroundSet" Source #
bold
data StyleBoldPropertyInfo Source #
Instances
constructStyleBold :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleBold :: AttrLabelProxy "bold" Source #
boldSet
data StyleBoldSetPropertyInfo Source #
Instances
constructStyleBoldSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleBoldSet :: AttrLabelProxy "boldSet" Source #
foreground
data StyleForegroundPropertyInfo Source #
Instances
constructStyleForeground :: IsStyle o => Text -> IO (GValueConstruct o) Source #
styleForeground :: AttrLabelProxy "foreground" Source #
foregroundSet
data StyleForegroundSetPropertyInfo Source #
Instances
constructStyleForegroundSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleForegroundSet :: AttrLabelProxy "foregroundSet" Source #
italic
data StyleItalicPropertyInfo Source #
Instances
constructStyleItalic :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleItalic :: AttrLabelProxy "italic" Source #
italicSet
data StyleItalicSetPropertyInfo Source #
Instances
constructStyleItalicSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleItalicSet :: AttrLabelProxy "italicSet" Source #
lineBackground
data StyleLineBackgroundPropertyInfo Source #
Instances
constructStyleLineBackground :: IsStyle o => Text -> IO (GValueConstruct o) Source #
styleLineBackground :: AttrLabelProxy "lineBackground" Source #
lineBackgroundSet
data StyleLineBackgroundSetPropertyInfo Source #
Instances
constructStyleLineBackgroundSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleLineBackgroundSet :: AttrLabelProxy "lineBackgroundSet" Source #
pangoUnderline
data StylePangoUnderlinePropertyInfo Source #
Instances
constructStylePangoUnderline :: IsStyle o => Underline -> IO (GValueConstruct o) Source #
stylePangoUnderline :: AttrLabelProxy "pangoUnderline" Source #
scale
data StyleScalePropertyInfo Source #
Instances
constructStyleScale :: IsStyle o => Text -> IO (GValueConstruct o) Source #
styleScale :: AttrLabelProxy "scale" Source #
scaleSet
data StyleScaleSetPropertyInfo Source #
Instances
constructStyleScaleSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleScaleSet :: AttrLabelProxy "scaleSet" Source #
strikethrough
data StyleStrikethroughPropertyInfo Source #
Instances
constructStyleStrikethrough :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleStrikethrough :: AttrLabelProxy "strikethrough" Source #
strikethroughSet
data StyleStrikethroughSetPropertyInfo Source #
Instances
constructStyleStrikethroughSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleStrikethroughSet :: AttrLabelProxy "strikethroughSet" Source #
underline
data StyleUnderlinePropertyInfo Source #
Instances
constructStyleUnderline :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleUnderline :: AttrLabelProxy "underline" Source #
underlineColor
data StyleUnderlineColorPropertyInfo Source #
Instances
constructStyleUnderlineColor :: IsStyle o => Text -> IO (GValueConstruct o) Source #
styleUnderlineColor :: AttrLabelProxy "underlineColor" Source #
underlineColorSet
data StyleUnderlineColorSetPropertyInfo Source #
Instances
constructStyleUnderlineColorSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleUnderlineColorSet :: AttrLabelProxy "underlineColorSet" Source #
underlineSet
data StyleUnderlineSetPropertyInfo Source #
Instances
constructStyleUnderlineSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
styleUnderlineSet :: AttrLabelProxy "underlineSet" Source #