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

GI.Gtk.Structs.TextAppearance

Description

No description available in the introspection data.

Synopsis

Exported types

newtype TextAppearance Source #

Memory-managed wrapper type.

Constructors

TextAppearance (ManagedPtr TextAppearance) 

Instances

Instances details
Eq TextAppearance Source # 
Instance details

Defined in GI.Gtk.Structs.TextAppearance

BoxedPtr TextAppearance Source # 
Instance details

Defined in GI.Gtk.Structs.TextAppearance

CallocPtr TextAppearance Source # 
Instance details

Defined in GI.Gtk.Structs.TextAppearance

ManagedPtrNewtype TextAppearance Source # 
Instance details

Defined in GI.Gtk.Structs.TextAppearance

tag ~ 'AttrSet => Constructible TextAppearance tag Source # 
Instance details

Defined in GI.Gtk.Structs.TextAppearance

Methods

new :: MonadIO m => (ManagedPtr TextAppearance -> TextAppearance) -> [AttrOp TextAppearance tag] -> m TextAppearance

newZeroTextAppearance :: MonadIO m => m TextAppearance Source #

Construct a TextAppearance struct initialized to zero.

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 ]