gi-gtk-3.0.32: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Structs.TextAppearance

Description

No description available in the introspection data.

Synopsis

Exported types

newZeroTextAppearance :: MonadIO m => m TextAppearance Source #

Construct a TextAppearance struct initialized to zero.

Methods

Overloaded methods

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 ]