Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype TextAppearance = TextAppearance (ManagedPtr TextAppearance)
- newZeroTextAppearance :: MonadIO m => m TextAppearance
- noTextAppearance :: Maybe TextAppearance
- getTextAppearanceBgColor :: MonadIO m => TextAppearance -> m Color
- getTextAppearanceDrawBg :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceDrawBg :: MonadIO m => TextAppearance -> Word32 -> m ()
- getTextAppearanceFgColor :: MonadIO m => TextAppearance -> m Color
- getTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> Word32 -> m ()
- getTextAppearanceIsText :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceIsText :: MonadIO m => TextAppearance -> Word32 -> m ()
- getTextAppearanceRise :: MonadIO m => TextAppearance -> m Int32
- setTextAppearanceRise :: MonadIO m => TextAppearance -> Int32 -> m ()
- getTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> Word32 -> m ()
- getTextAppearanceUnderline :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceUnderline :: MonadIO m => TextAppearance -> Word32 -> m ()
Exported types
newtype TextAppearance Source #
Memory-managed wrapper type.
Instances
WrappedPtr TextAppearance Source # | |
Defined in GI.Gtk.Structs.TextAppearance | |
tag ~ AttrSet => Constructible TextAppearance tag Source # | |
Defined in GI.Gtk.Structs.TextAppearance new :: MonadIO m => (ManagedPtr TextAppearance -> TextAppearance) -> [AttrOp TextAppearance tag] -> m TextAppearance # |
newZeroTextAppearance :: MonadIO m => m TextAppearance Source #
Construct a TextAppearance
struct initialized to zero.
noTextAppearance :: Maybe TextAppearance Source #
A convenience alias for Nothing
:: Maybe
TextAppearance
.
Properties
bgColor
Background Color
.
getTextAppearanceBgColor :: MonadIO m => TextAppearance -> m Color Source #
Get the value of the “bg_color
” field.
When overloading is enabled, this is equivalent to
get
textAppearance #bgColor
drawBg
Whether to use background-related values; this is irrelevant for the values struct when in a tag, but is used for the composite values struct; it’s true if any of the tags being composited had background stuff set.
getTextAppearanceDrawBg :: MonadIO m => TextAppearance -> m Word32 Source #
Get the value of the “draw_bg
” field.
When overloading is enabled, this is equivalent to
get
textAppearance #drawBg
setTextAppearanceDrawBg :: MonadIO m => TextAppearance -> Word32 -> m () Source #
Set the value of the “draw_bg
” field.
When overloading is enabled, this is equivalent to
set
textAppearance [ #drawBg:=
value ]
fgColor
Foreground Color
.
getTextAppearanceFgColor :: MonadIO m => TextAppearance -> m Color Source #
Get the value of the “fg_color
” field.
When overloading is enabled, this is equivalent to
get
textAppearance #fgColor
insideSelection
This are only used when we are actually laying
out and rendering a paragraph; not when a TextAppearance
is
part of a TextAttributes
.
getTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> m Word32 Source #
Get the value of the “inside_selection
” field.
When overloading is enabled, this is equivalent to
get
textAppearance #insideSelection
setTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> Word32 -> m () Source #
Set the value of the “inside_selection
” field.
When overloading is enabled, this is equivalent to
set
textAppearance [ #insideSelection:=
value ]
isText
This are only used when we are actually laying
out and rendering a paragraph; not when a TextAppearance
is
part of a TextAttributes
.
getTextAppearanceIsText :: MonadIO m => TextAppearance -> m Word32 Source #
Get the value of the “is_text
” field.
When overloading is enabled, this is equivalent to
get
textAppearance #isText
setTextAppearanceIsText :: MonadIO m => TextAppearance -> Word32 -> m () Source #
Set the value of the “is_text
” field.
When overloading is enabled, this is equivalent to
set
textAppearance [ #isText:=
value ]
rise
Super/subscript rise, can be negative.
getTextAppearanceRise :: MonadIO m => TextAppearance -> m Int32 Source #
Get the value of the “rise
” field.
When overloading is enabled, this is equivalent to
get
textAppearance #rise
setTextAppearanceRise :: MonadIO m => TextAppearance -> Int32 -> m () Source #
Set the value of the “rise
” field.
When overloading is enabled, this is equivalent to
set
textAppearance [ #rise:=
value ]
strikethrough
Strikethrough style
getTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> m Word32 Source #
Get the value of the “strikethrough
” field.
When overloading is enabled, this is equivalent to
get
textAppearance #strikethrough
setTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> Word32 -> m () Source #
Set the value of the “strikethrough
” field.
When overloading is enabled, this is equivalent to
set
textAppearance [ #strikethrough:=
value ]
underline
getTextAppearanceUnderline :: MonadIO m => TextAppearance -> m Word32 Source #
Get the value of the “underline
” field.
When overloading is enabled, this is equivalent to
get
textAppearance #underline
setTextAppearanceUnderline :: MonadIO m => TextAppearance -> Word32 -> m () Source #
Set the value of the “underline
” field.
When overloading is enabled, this is equivalent to
set
textAppearance [ #underline:=
value ]