| 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
No description available in the introspection data.
Synopsis
- newtype Style = Style (ManagedPtr Style)
- class GObject o => IsStyle o
- toStyle :: (MonadIO m, IsStyle o) => o -> m Style
- noStyle :: Maybe Style
- styleApply :: (HasCallStack, MonadIO m, IsStyle a, IsTextTag b) => a -> b -> m ()
- styleCopy :: (HasCallStack, MonadIO m, IsStyle a) => a -> m Style
- constructStyleBackground :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleBackground :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- constructStyleBackgroundSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleBackgroundSet :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleBold :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleBold :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleBoldSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleBoldSet :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleForeground :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleForeground :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- constructStyleForegroundSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleForegroundSet :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleItalic :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleItalic :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleItalicSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleItalicSet :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleLineBackground :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleLineBackground :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- constructStyleLineBackgroundSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleLineBackgroundSet :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStylePangoUnderline :: IsStyle o => Underline -> IO (GValueConstruct o)
- getStylePangoUnderline :: (MonadIO m, IsStyle o) => o -> m Underline
- constructStyleScale :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleScale :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- constructStyleScaleSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleScaleSet :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleStrikethrough :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleStrikethrough :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleStrikethroughSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleStrikethroughSet :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleUnderline :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleUnderline :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleUnderlineColor :: IsStyle o => Text -> IO (GValueConstruct o)
- getStyleUnderlineColor :: (MonadIO m, IsStyle o) => o -> m (Maybe Text)
- constructStyleUnderlineColorSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleUnderlineColorSet :: (MonadIO m, IsStyle o) => o -> m Bool
- constructStyleUnderlineSet :: IsStyle o => Bool -> IO (GValueConstruct o)
- getStyleUnderlineSet :: (MonadIO m, IsStyle o) => o -> m Bool
Exported types
Memory-managed wrapper type.
Constructors
| Style (ManagedPtr Style) |
Instances
| GObject Style Source # | |
Defined in GI.GtkSource.Objects.Style Methods gobjectType :: Style -> IO GType # | |
| IsObject Style Source # | |
Defined in GI.GtkSource.Objects.Style | |
| IsStyle Style Source # | |
Defined in GI.GtkSource.Objects.Style | |
class GObject o => IsStyle o Source #
Instances
| (GObject a, (UnknownAncestorError Style a :: Constraint)) => IsStyle a Source # | |
Defined in GI.GtkSource.Objects.Style | |
| IsStyle Style Source # | |
Defined in GI.GtkSource.Objects.Style | |
Methods
apply
Arguments
| :: (HasCallStack, MonadIO m, IsStyle a, IsTextTag b) | |
| => a | |
| -> b |
|
| -> m () |
copy
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
No description available in the introspection data.
constructStyleBackground :: IsStyle o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “background” property. This is rarely needed directly, but it is used by new.
getStyleBackground :: (MonadIO m, IsStyle o) => o -> m (Maybe Text) Source #
Get the value of the “background” property.
When overloading is enabled, this is equivalent to
get style #background
backgroundSet
No description available in the introspection data.
constructStyleBackgroundSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “background-set” property. This is rarely needed directly, but it is used by new.
getStyleBackgroundSet :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “background-set” property.
When overloading is enabled, this is equivalent to
get style #backgroundSet
bold
No description available in the introspection data.
constructStyleBold :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “bold” property. This is rarely needed directly, but it is used by new.
getStyleBold :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “bold” property.
When overloading is enabled, this is equivalent to
get style #bold
boldSet
No description available in the introspection data.
constructStyleBoldSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “bold-set” property. This is rarely needed directly, but it is used by new.
getStyleBoldSet :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “bold-set” property.
When overloading is enabled, this is equivalent to
get style #boldSet
foreground
No description available in the introspection data.
constructStyleForeground :: IsStyle o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “foreground” property. This is rarely needed directly, but it is used by new.
getStyleForeground :: (MonadIO m, IsStyle o) => o -> m (Maybe Text) Source #
Get the value of the “foreground” property.
When overloading is enabled, this is equivalent to
get style #foreground
foregroundSet
No description available in the introspection data.
constructStyleForegroundSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “foreground-set” property. This is rarely needed directly, but it is used by new.
getStyleForegroundSet :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “foreground-set” property.
When overloading is enabled, this is equivalent to
get style #foregroundSet
italic
No description available in the introspection data.
constructStyleItalic :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “italic” property. This is rarely needed directly, but it is used by new.
getStyleItalic :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “italic” property.
When overloading is enabled, this is equivalent to
get style #italic
italicSet
No description available in the introspection data.
constructStyleItalicSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “italic-set” property. This is rarely needed directly, but it is used by new.
getStyleItalicSet :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “italic-set” property.
When overloading is enabled, this is equivalent to
get style #italicSet
lineBackground
No description available in the introspection data.
constructStyleLineBackground :: IsStyle o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “line-background” property. This is rarely needed directly, but it is used by new.
getStyleLineBackground :: (MonadIO m, IsStyle o) => o -> m (Maybe Text) Source #
Get the value of the “line-background” property.
When overloading is enabled, this is equivalent to
get style #lineBackground
lineBackgroundSet
No description available in the introspection data.
constructStyleLineBackgroundSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “line-background-set” property. This is rarely needed directly, but it is used by new.
getStyleLineBackgroundSet :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “line-background-set” property.
When overloading is enabled, this is equivalent to
get style #lineBackgroundSet
pangoUnderline
No description available in the introspection data.
constructStylePangoUnderline :: IsStyle o => Underline -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “pango-underline” property. This is rarely needed directly, but it is used by new.
getStylePangoUnderline :: (MonadIO m, IsStyle o) => o -> m Underline Source #
Get the value of the “pango-underline” property.
When overloading is enabled, this is equivalent to
get style #pangoUnderline
scale
No description available in the introspection data.
constructStyleScale :: IsStyle o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “scale” property. This is rarely needed directly, but it is used by new.
getStyleScale :: (MonadIO m, IsStyle o) => o -> m (Maybe Text) Source #
Get the value of the “scale” property.
When overloading is enabled, this is equivalent to
get style #scale
scaleSet
No description available in the introspection data.
constructStyleScaleSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “scale-set” property. This is rarely needed directly, but it is used by new.
getStyleScaleSet :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “scale-set” property.
When overloading is enabled, this is equivalent to
get style #scaleSet
strikethrough
No description available in the introspection data.
constructStyleStrikethrough :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “strikethrough” property. This is rarely needed directly, but it is used by new.
getStyleStrikethrough :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “strikethrough” property.
When overloading is enabled, this is equivalent to
get style #strikethrough
strikethroughSet
No description available in the introspection data.
constructStyleStrikethroughSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “strikethrough-set” property. This is rarely needed directly, but it is used by new.
getStyleStrikethroughSet :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “strikethrough-set” property.
When overloading is enabled, this is equivalent to
get style #strikethroughSet
underline
No description available in the introspection data.
constructStyleUnderline :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “underline” property. This is rarely needed directly, but it is used by new.
getStyleUnderline :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “underline” property.
When overloading is enabled, this is equivalent to
get style #underline
underlineColor
No description available in the introspection data.
constructStyleUnderlineColor :: IsStyle o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “underline-color” property. This is rarely needed directly, but it is used by new.
getStyleUnderlineColor :: (MonadIO m, IsStyle o) => o -> m (Maybe Text) Source #
Get the value of the “underline-color” property.
When overloading is enabled, this is equivalent to
get style #underlineColor
underlineColorSet
No description available in the introspection data.
constructStyleUnderlineColorSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “underline-color-set” property. This is rarely needed directly, but it is used by new.
getStyleUnderlineColorSet :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “underline-color-set” property.
When overloading is enabled, this is equivalent to
get style #underlineColorSet
underlineSet
No description available in the introspection data.
constructStyleUnderlineSet :: IsStyle o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “underline-set” property. This is rarely needed directly, but it is used by new.
getStyleUnderlineSet :: (MonadIO m, IsStyle o) => o -> m Bool Source #
Get the value of the “underline-set” property.
When overloading is enabled, this is equivalent to
get style #underlineSet