gi-gtk4-4.0.12: Gtk 4.x bindings

Copyright | Will Thompson and Iñaki García Etxebarria
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria
Safe Haskell | None
Language | Haskell2010

GI.Gtk.Objects.CellRendererText

Contents

- Exported types
- Methods
  - new
  - setFixedHeightFromFont
- Properties
  - alignSet
  - alignment
  - attributes
  - background
  - backgroundRgba
  - backgroundSet
  - editable
  - editableSet
  - ellipsize
  - ellipsizeSet
  - family
  - familySet
  - font
  - fontDesc
  - foreground
  - foregroundRgba
  - foregroundSet
  - language
  - languageSet
  - markup
  - maxWidthChars
  - placeholderText
  - rise
  - riseSet
  - scale
  - scaleSet
  - singleParagraphMode
  - size
  - sizePoints
  - sizeSet
  - stretch
  - stretchSet
  - strikethrough
  - strikethroughSet
  - style
  - styleSet
  - text
  - underline
  - underlineSet
  - variant
  - variantSet
  - weight
  - weightSet
  - widthChars
  - wrapMode
  - wrapWidth
- Signals
  - edited

Description

Renders text in a cell

A `GtkCellRendererText` renders a given text in its cell, using the font, color and style information provided by its properties. The text will be ellipsized if it is too long and the `GtkCellRendererText:ellipsize` property allows it.

If the `GtkCellRenderer:mode` is `CellRendererModeEditable`, the `GtkCellRendererText` allows to edit its text using an entry.

Synopsis

- newtype CellRendererText = CellRendererText (ManagedPtr CellRendererText)
- class (GObject o, IsDescendantOf CellRendererText o) => IsCellRendererText o
- toCellRendererText :: (MonadIO m, IsCellRendererText o) => o -> m CellRendererText
- cellRendererTextNew :: (HasCallStack, MonadIO m) => m CellRendererText
- cellRendererTextSetFixedHeightFromFont :: (HasCallStack, MonadIO m, IsCellRendererText a) => a -> Int32 -> m ()
- constructCellRendererTextAlignSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextAlignSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextAlignSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextAlignment :: (IsCellRendererText o, MonadIO m) => Alignment -> m (GValueConstruct o)
- getCellRendererTextAlignment :: (MonadIO m, IsCellRendererText o) => o -> m Alignment
- setCellRendererTextAlignment :: (MonadIO m, IsCellRendererText o) => o -> Alignment -> m ()
- clearCellRendererTextAttributes :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextAttributes :: (IsCellRendererText o, MonadIO m) => AttrList -> m (GValueConstruct o)
- getCellRendererTextAttributes :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe AttrList)
- setCellRendererTextAttributes :: (MonadIO m, IsCellRendererText o) => o -> AttrList -> m ()
- clearCellRendererTextBackground :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextBackground :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o)
- setCellRendererTextBackground :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- clearCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextBackgroundRgba :: (IsCellRendererText o, MonadIO m) => RGBA -> m (GValueConstruct o)
- getCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe RGBA)
- setCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> RGBA -> m ()
- constructCellRendererTextBackgroundSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextBackgroundSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextBackgroundSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextEditable :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextEditable :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextEditable :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextEditableSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextEditableSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextEditableSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextEllipsize :: (IsCellRendererText o, MonadIO m) => EllipsizeMode -> m (GValueConstruct o)
- getCellRendererTextEllipsize :: (MonadIO m, IsCellRendererText o) => o -> m EllipsizeMode
- setCellRendererTextEllipsize :: (MonadIO m, IsCellRendererText o) => o -> EllipsizeMode -> m ()
- constructCellRendererTextEllipsizeSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextEllipsizeSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextEllipsizeSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- clearCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextFamily :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o)
- getCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text)
- setCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextFamilySet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextFamilySet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextFamilySet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- clearCellRendererTextFont :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextFont :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o)
- getCellRendererTextFont :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text)
- setCellRendererTextFont :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- clearCellRendererTextFontDesc :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextFontDesc :: (IsCellRendererText o, MonadIO m) => FontDescription -> m (GValueConstruct o)
- getCellRendererTextFontDesc :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe FontDescription)
- setCellRendererTextFontDesc :: (MonadIO m, IsCellRendererText o) => o -> FontDescription -> m ()
- clearCellRendererTextForeground :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextForeground :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o)
- setCellRendererTextForeground :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- clearCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextForegroundRgba :: (IsCellRendererText o, MonadIO m) => RGBA -> m (GValueConstruct o)
- getCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe RGBA)
- setCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> RGBA -> m ()
- constructCellRendererTextForegroundSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextForegroundSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextForegroundSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- clearCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextLanguage :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o)
- getCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text)
- setCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextLanguageSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextLanguageSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextLanguageSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- clearCellRendererTextMarkup :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextMarkup :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o)
- setCellRendererTextMarkup :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextMaxWidthChars :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getCellRendererTextMaxWidthChars :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextMaxWidthChars :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- clearCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextPlaceholderText :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o)
- getCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text)
- setCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextRise :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getCellRendererTextRise :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextRise :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- constructCellRendererTextRiseSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextRiseSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextRiseSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextScale :: (IsCellRendererText o, MonadIO m) => Double -> m (GValueConstruct o)
- getCellRendererTextScale :: (MonadIO m, IsCellRendererText o) => o -> m Double
- setCellRendererTextScale :: (MonadIO m, IsCellRendererText o) => o -> Double -> m ()
- constructCellRendererTextScaleSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextScaleSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextScaleSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextSingleParagraphMode :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextSingleParagraphMode :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextSingleParagraphMode :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextSize :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getCellRendererTextSize :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextSize :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- constructCellRendererTextSizePoints :: (IsCellRendererText o, MonadIO m) => Double -> m (GValueConstruct o)
- getCellRendererTextSizePoints :: (MonadIO m, IsCellRendererText o) => o -> m Double
- setCellRendererTextSizePoints :: (MonadIO m, IsCellRendererText o) => o -> Double -> m ()
- constructCellRendererTextSizeSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextSizeSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextSizeSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextStretch :: (IsCellRendererText o, MonadIO m) => Stretch -> m (GValueConstruct o)
- getCellRendererTextStretch :: (MonadIO m, IsCellRendererText o) => o -> m Stretch
- setCellRendererTextStretch :: (MonadIO m, IsCellRendererText o) => o -> Stretch -> m ()
- constructCellRendererTextStretchSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextStretchSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextStretchSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextStrikethrough :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextStrikethrough :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextStrikethrough :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextStrikethroughSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextStrikethroughSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextStrikethroughSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextStyle :: (IsCellRendererText o, MonadIO m) => Style -> m (GValueConstruct o)
- getCellRendererTextStyle :: (MonadIO m, IsCellRendererText o) => o -> m Style
- setCellRendererTextStyle :: (MonadIO m, IsCellRendererText o) => o -> Style -> m ()
- constructCellRendererTextStyleSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextStyleSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextStyleSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- clearCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextText :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o)
- getCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text)
- setCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextUnderline :: (IsCellRendererText o, MonadIO m) => Underline -> m (GValueConstruct o)
- getCellRendererTextUnderline :: (MonadIO m, IsCellRendererText o) => o -> m Underline
- setCellRendererTextUnderline :: (MonadIO m, IsCellRendererText o) => o -> Underline -> m ()
- constructCellRendererTextUnderlineSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextUnderlineSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextUnderlineSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextVariant :: (IsCellRendererText o, MonadIO m) => Variant -> m (GValueConstruct o)
- getCellRendererTextVariant :: (MonadIO m, IsCellRendererText o) => o -> m Variant
- setCellRendererTextVariant :: (MonadIO m, IsCellRendererText o) => o -> Variant -> m ()
- constructCellRendererTextVariantSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextVariantSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextVariantSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextWeight :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getCellRendererTextWeight :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextWeight :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- constructCellRendererTextWeightSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o)
- getCellRendererTextWeightSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextWeightSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextWidthChars :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getCellRendererTextWidthChars :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextWidthChars :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- constructCellRendererTextWrapMode :: (IsCellRendererText o, MonadIO m) => WrapMode -> m (GValueConstruct o)
- getCellRendererTextWrapMode :: (MonadIO m, IsCellRendererText o) => o -> m WrapMode
- setCellRendererTextWrapMode :: (MonadIO m, IsCellRendererText o) => o -> WrapMode -> m ()
- constructCellRendererTextWrapWidth :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getCellRendererTextWrapWidth :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextWrapWidth :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- type CellRendererTextEditedCallback = Text -> Text -> IO ()
- afterCellRendererTextEdited :: (IsCellRendererText a, MonadIO m) => a -> ((?self :: a) => CellRendererTextEditedCallback) -> m SignalHandlerId
- onCellRendererTextEdited :: (IsCellRendererText a, MonadIO m) => a -> ((?self :: a) => CellRendererTextEditedCallback) -> m SignalHandlerId

# Exported types

newtype CellRendererText Source #

Memory-managed wrapper type.

Constructors

CellRendererText (ManagedPtr CellRendererText) |

#### Instances

Instances details

Eq CellRendererText Source # |
Instance details Defined in GI.Gtk.Objects.CellRendererText Methods (==) :: CellRendererText -> CellRendererText -> Bool Source # (/=) :: CellRendererText -> CellRendererText -> Bool Source #
GObject CellRendererText Source # |
Instance details Defined in GI.Gtk.Objects.CellRendererText
ManagedPtrNewtype CellRendererText Source # |
Instance details Defined in GI.Gtk.Objects.CellRendererText Methods toManagedPtr :: CellRendererText -> ManagedPtr CellRendererText Source #
TypedObject CellRendererText Source # |
Instance details Defined in GI.Gtk.Objects.CellRendererText Methods glibType :: IO GType Source #
HasParentTypes CellRendererText Source # |
Instance details Defined in GI.Gtk.Objects.CellRendererText
IsGValue (Maybe CellRendererText) Source # | Convert `CellRendererText` to and from `GValue`. See `toGValue` and `fromGValue`.
Instance details Defined in GI.Gtk.Objects.CellRendererText Methods gvalueGType_ :: IO GType Source # gvalueSet_ :: Ptr GValue -> Maybe CellRendererText -> IO () Source # gvalueGet_ :: Ptr GValue -> IO (Maybe CellRendererText) Source #
type ParentTypes CellRendererText Source # |
Instance details Defined in GI.Gtk.Objects.CellRendererText type ParentTypes CellRendererText = '[CellRenderer, Object]

class (GObject o, IsDescendantOf CellRendererText o) => IsCellRendererText o Source #

Type class for types which can be safely cast to `CellRendererText`, for instance with `toCellRendererText`.

#### Instances

Instances details

(GObject o, IsDescendantOf CellRendererText o) => IsCellRendererText o Source # |
Instance details Defined in GI.Gtk.Objects.CellRendererText

toCellRendererText :: (MonadIO m, IsCellRendererText o) => o -> m CellRendererText Source #

Cast to `CellRendererText`, for types for which this is known to be safe. For general casts, use `castTo`.

# Methods

### Click to display all available methods, including inherited ones

Expand

#### Methods

activate, bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isActivatable, isFloating, notify, notifyByPspec, ref, refSink, runDispose, snapshot, startEditing, stealData, stealQdata, stopEditing, thawNotify, unref, watchClosure.

#### Getters

getAlignedArea, getAlignment, getData, getFixedSize, getIsExpanded, getIsExpander, getPadding, getPreferredHeight, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRequestMode, getSensitive, getState, getVisible.

#### Setters

setAlignment, setData, setDataFull, setFixedHeightFromFont, setFixedSize, setIsExpanded, setIsExpander, setPadding, setProperty, setSensitive, setVisible.

## new

cellRendererTextNew Source #

Arguments

:: (HasCallStack, MonadIO m) |
=> m CellRendererText | Returns: the new cell renderer

Deprecated: (Since version 4.10)

Creates a new `GtkCellRendererText`. Adjust how text is drawn using object properties. Object properties can be set globally (with `g_object_set()`). Also, with `GtkTreeViewColumn`, you can bind a property to a value in a `GtkTreeModel`. For example, you can bind the “text” property on the cell renderer to a string value in the model, thus rendering a different string in each row of the `GtkTreeView`.

## setFixedHeightFromFont

cellRendererTextSetFixedHeightFromFont Source #

Arguments

:: (HasCallStack, MonadIO m, IsCellRendererText a) |
=> a | `renderer`: A `GtkCellRendererText`
-> Int32 | `numberOfRows`: Number of rows of text each cell renderer is allocated, or -1
-> m () |

Deprecated: (Since version 4.10)

Sets the height of a renderer to explicitly be determined by the “font” and “y_pad” property set on it. Further changes in these properties do not affect the height, so they must be accompanied by a subsequent call to this function. Using this function is inflexible, and should really only be used if calculating the size of a cell is too slow (ie, a massive number of cells displayed). If `numberOfRows` is -1, then the fixed height is unset, and the height is determined by the properties again.

# Properties

## alignSet

No description available in the introspection data.

constructCellRendererTextAlignSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`align-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextAlignSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`align-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #alignSet

setCellRendererTextAlignSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`align-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #alignSet := value ]

## alignment

Specifies how to align the lines of text with respect to each other.

Note that this property describes how to align the lines of text in case there are several of them. The "xalign" property of `GtkCellRenderer`, on the other hand, sets the horizontal alignment of the whole text.

constructCellRendererTextAlignment :: (IsCellRendererText o, MonadIO m) => Alignment -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`alignment`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextAlignment :: (MonadIO m, IsCellRendererText o) => o -> m Alignment Source #

Get the value of the “`alignment`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #alignment

setCellRendererTextAlignment :: (MonadIO m, IsCellRendererText o) => o -> Alignment -> m () Source #

Set the value of the “`alignment`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #alignment := value ]

## attributes

No description available in the introspection data.

clearCellRendererTextAttributes :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`attributes`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #attributes

constructCellRendererTextAttributes :: (IsCellRendererText o, MonadIO m) => AttrList -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`attributes`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextAttributes :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe AttrList) Source #

Get the value of the “`attributes`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #attributes

setCellRendererTextAttributes :: (MonadIO m, IsCellRendererText o) => o -> AttrList -> m () Source #

Set the value of the “`attributes`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #attributes := value ]

## background

No description available in the introspection data.

clearCellRendererTextBackground :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`background`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #background

constructCellRendererTextBackground :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`background`” property. This is rarely needed directly, but it is used by `new`.

setCellRendererTextBackground :: (MonadIO m, IsCellRendererText o) => o -> Text -> m () Source #

Set the value of the “`background`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #background := value ]

## backgroundRgba

Background color as a `GdkRGBA`

clearCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`background-rgba`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #backgroundRgba

constructCellRendererTextBackgroundRgba :: (IsCellRendererText o, MonadIO m) => RGBA -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`background-rgba`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe RGBA) Source #

Get the value of the “`background-rgba`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #backgroundRgba

setCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> RGBA -> m () Source #

Set the value of the “`background-rgba`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #backgroundRgba := value ]

## backgroundSet

No description available in the introspection data.

constructCellRendererTextBackgroundSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (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`.

getCellRendererTextBackgroundSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`background-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #backgroundSet

setCellRendererTextBackgroundSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`background-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #backgroundSet := value ]

## editable

No description available in the introspection data.

constructCellRendererTextEditable :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`editable`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextEditable :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`editable`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #editable

setCellRendererTextEditable :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`editable`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #editable := value ]

## editableSet

No description available in the introspection data.

constructCellRendererTextEditableSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`editable-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextEditableSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`editable-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #editableSet

setCellRendererTextEditableSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`editable-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #editableSet := value ]

## ellipsize

Specifies the preferred place to ellipsize the string, if the cell renderer does not have enough room to display the entire string. Setting it to `EllipsizeModeNone` turns off ellipsizing. See the wrap-width property for another way of making the text fit into a given width.

constructCellRendererTextEllipsize :: (IsCellRendererText o, MonadIO m) => EllipsizeMode -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`ellipsize`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextEllipsize :: (MonadIO m, IsCellRendererText o) => o -> m EllipsizeMode Source #

Get the value of the “`ellipsize`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #ellipsize

setCellRendererTextEllipsize :: (MonadIO m, IsCellRendererText o) => o -> EllipsizeMode -> m () Source #

Set the value of the “`ellipsize`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #ellipsize := value ]

## ellipsizeSet

No description available in the introspection data.

constructCellRendererTextEllipsizeSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`ellipsize-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextEllipsizeSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`ellipsize-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #ellipsizeSet

setCellRendererTextEllipsizeSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`ellipsize-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #ellipsizeSet := value ]

## family

No description available in the introspection data.

clearCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`family`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #family

constructCellRendererTextFamily :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`family`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text) Source #

Get the value of the “`family`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #family

setCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> Text -> m () Source #

Set the value of the “`family`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #family := value ]

## familySet

No description available in the introspection data.

constructCellRendererTextFamilySet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`family-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextFamilySet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`family-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #familySet

setCellRendererTextFamilySet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`family-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #familySet := value ]

## font

No description available in the introspection data.

clearCellRendererTextFont :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`font`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #font

constructCellRendererTextFont :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`font`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextFont :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text) Source #

Get the value of the “`font`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #font

setCellRendererTextFont :: (MonadIO m, IsCellRendererText o) => o -> Text -> m () Source #

Set the value of the “`font`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #font := value ]

## fontDesc

No description available in the introspection data.

clearCellRendererTextFontDesc :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`font-desc`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #fontDesc

constructCellRendererTextFontDesc :: (IsCellRendererText o, MonadIO m) => FontDescription -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`font-desc`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextFontDesc :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe FontDescription) Source #

Get the value of the “`font-desc`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #fontDesc

setCellRendererTextFontDesc :: (MonadIO m, IsCellRendererText o) => o -> FontDescription -> m () Source #

Set the value of the “`font-desc`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #fontDesc := value ]

## foreground

No description available in the introspection data.

clearCellRendererTextForeground :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`foreground`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #foreground

constructCellRendererTextForeground :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`foreground`” property. This is rarely needed directly, but it is used by `new`.

setCellRendererTextForeground :: (MonadIO m, IsCellRendererText o) => o -> Text -> m () Source #

Set the value of the “`foreground`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #foreground := value ]

## foregroundRgba

Foreground color as a `GdkRGBA`

clearCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`foreground-rgba`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #foregroundRgba

constructCellRendererTextForegroundRgba :: (IsCellRendererText o, MonadIO m) => RGBA -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`foreground-rgba`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe RGBA) Source #

Get the value of the “`foreground-rgba`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #foregroundRgba

setCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> RGBA -> m () Source #

Set the value of the “`foreground-rgba`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #foregroundRgba := value ]

## foregroundSet

No description available in the introspection data.

constructCellRendererTextForegroundSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (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`.

getCellRendererTextForegroundSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`foreground-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #foregroundSet

setCellRendererTextForegroundSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`foreground-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #foregroundSet := value ]

## language

No description available in the introspection data.

clearCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`language`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #language

constructCellRendererTextLanguage :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`language`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text) Source #

Get the value of the “`language`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #language

setCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> Text -> m () Source #

Set the value of the “`language`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #language := value ]

## languageSet

No description available in the introspection data.

constructCellRendererTextLanguageSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`language-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextLanguageSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`language-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #languageSet

setCellRendererTextLanguageSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`language-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #languageSet := value ]

## markup

No description available in the introspection data.

clearCellRendererTextMarkup :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`markup`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #markup

constructCellRendererTextMarkup :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`markup`” property. This is rarely needed directly, but it is used by `new`.

setCellRendererTextMarkup :: (MonadIO m, IsCellRendererText o) => o -> Text -> m () Source #

Set the value of the “`markup`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #markup := value ]

## maxWidthChars

The desired maximum width of the cell, in characters. If this property is set to -1, the width will be calculated automatically.

For cell renderers that ellipsize or wrap text; this property controls the maximum reported width of the cell. The cell should not receive any greater allocation unless it is set to expand in its `GtkCellLayout` and all of the cell's siblings have received their natural width.

constructCellRendererTextMaxWidthChars :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`max-width-chars`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextMaxWidthChars :: (MonadIO m, IsCellRendererText o) => o -> m Int32 Source #

Get the value of the “`max-width-chars`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #maxWidthChars

setCellRendererTextMaxWidthChars :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m () Source #

Set the value of the “`max-width-chars`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #maxWidthChars := value ]

## placeholderText

The text that will be displayed in the `GtkCellRenderer` if `GtkCellRendererText:editable` is `True` and the cell is empty.

clearCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`placeholder-text`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #placeholderText

constructCellRendererTextPlaceholderText :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`placeholder-text`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text) Source #

Get the value of the “`placeholder-text`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #placeholderText

setCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> Text -> m () Source #

Set the value of the “`placeholder-text`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #placeholderText := value ]

## rise

No description available in the introspection data.

constructCellRendererTextRise :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`rise`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextRise :: (MonadIO m, IsCellRendererText o) => o -> m Int32 Source #

Get the value of the “`rise`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #rise

setCellRendererTextRise :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m () Source #

Set the value of the “`rise`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #rise := value ]

## riseSet

No description available in the introspection data.

constructCellRendererTextRiseSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`rise-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextRiseSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`rise-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #riseSet

setCellRendererTextRiseSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`rise-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #riseSet := value ]

## scale

No description available in the introspection data.

constructCellRendererTextScale :: (IsCellRendererText o, MonadIO m) => Double -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`scale`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextScale :: (MonadIO m, IsCellRendererText o) => o -> m Double Source #

Get the value of the “`scale`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #scale

setCellRendererTextScale :: (MonadIO m, IsCellRendererText o) => o -> Double -> m () Source #

Set the value of the “`scale`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #scale := value ]

## scaleSet

No description available in the introspection data.

constructCellRendererTextScaleSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (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`.

getCellRendererTextScaleSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`scale-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #scaleSet

setCellRendererTextScaleSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`scale-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #scaleSet := value ]

## singleParagraphMode

No description available in the introspection data.

constructCellRendererTextSingleParagraphMode :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`single-paragraph-mode`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextSingleParagraphMode :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`single-paragraph-mode`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #singleParagraphMode

setCellRendererTextSingleParagraphMode :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`single-paragraph-mode`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #singleParagraphMode := value ]

## size

No description available in the introspection data.

constructCellRendererTextSize :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`size`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextSize :: (MonadIO m, IsCellRendererText o) => o -> m Int32 Source #

Get the value of the “`size`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #size

setCellRendererTextSize :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m () Source #

Set the value of the “`size`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #size := value ]

## sizePoints

No description available in the introspection data.

constructCellRendererTextSizePoints :: (IsCellRendererText o, MonadIO m) => Double -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`size-points`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextSizePoints :: (MonadIO m, IsCellRendererText o) => o -> m Double Source #

Get the value of the “`size-points`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #sizePoints

setCellRendererTextSizePoints :: (MonadIO m, IsCellRendererText o) => o -> Double -> m () Source #

Set the value of the “`size-points`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #sizePoints := value ]

## sizeSet

No description available in the introspection data.

constructCellRendererTextSizeSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`size-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextSizeSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`size-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #sizeSet

setCellRendererTextSizeSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`size-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #sizeSet := value ]

## stretch

No description available in the introspection data.

constructCellRendererTextStretch :: (IsCellRendererText o, MonadIO m) => Stretch -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`stretch`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextStretch :: (MonadIO m, IsCellRendererText o) => o -> m Stretch Source #

Get the value of the “`stretch`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #stretch

setCellRendererTextStretch :: (MonadIO m, IsCellRendererText o) => o -> Stretch -> m () Source #

Set the value of the “`stretch`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #stretch := value ]

## stretchSet

No description available in the introspection data.

constructCellRendererTextStretchSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`stretch-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextStretchSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`stretch-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #stretchSet

setCellRendererTextStretchSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`stretch-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #stretchSet := value ]

## strikethrough

No description available in the introspection data.

constructCellRendererTextStrikethrough :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`strikethrough`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextStrikethrough :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`strikethrough`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #strikethrough

setCellRendererTextStrikethrough :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`strikethrough`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #strikethrough := value ]

## strikethroughSet

No description available in the introspection data.

constructCellRendererTextStrikethroughSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (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`.

getCellRendererTextStrikethroughSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`strikethrough-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #strikethroughSet

setCellRendererTextStrikethroughSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`strikethrough-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #strikethroughSet := value ]

## style

No description available in the introspection data.

constructCellRendererTextStyle :: (IsCellRendererText o, MonadIO m) => Style -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`style`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextStyle :: (MonadIO m, IsCellRendererText o) => o -> m Style Source #

Get the value of the “`style`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #style

setCellRendererTextStyle :: (MonadIO m, IsCellRendererText o) => o -> Style -> m () Source #

Set the value of the “`style`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #style := value ]

## styleSet

No description available in the introspection data.

constructCellRendererTextStyleSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`style-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextStyleSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`style-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #styleSet

setCellRendererTextStyleSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`style-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #styleSet := value ]

## text

No description available in the introspection data.

clearCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> m () Source #

Set the value of the “`text`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #text

constructCellRendererTextText :: (IsCellRendererText o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`text`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text) Source #

Get the value of the “`text`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #text

setCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> Text -> m () Source #

Set the value of the “`text`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #text := value ]

## underline

No description available in the introspection data.

constructCellRendererTextUnderline :: (IsCellRendererText o, MonadIO m) => Underline -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`underline`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextUnderline :: (MonadIO m, IsCellRendererText o) => o -> m Underline Source #

Get the value of the “`underline`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #underline

setCellRendererTextUnderline :: (MonadIO m, IsCellRendererText o) => o -> Underline -> m () Source #

Set the value of the “`underline`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #underline := value ]

## underlineSet

No description available in the introspection data.

constructCellRendererTextUnderlineSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (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`.

getCellRendererTextUnderlineSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`underline-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #underlineSet

setCellRendererTextUnderlineSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`underline-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #underlineSet := value ]

## variant

No description available in the introspection data.

constructCellRendererTextVariant :: (IsCellRendererText o, MonadIO m) => Variant -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`variant`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextVariant :: (MonadIO m, IsCellRendererText o) => o -> m Variant Source #

Get the value of the “`variant`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #variant

setCellRendererTextVariant :: (MonadIO m, IsCellRendererText o) => o -> Variant -> m () Source #

Set the value of the “`variant`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #variant := value ]

## variantSet

No description available in the introspection data.

constructCellRendererTextVariantSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`variant-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextVariantSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`variant-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #variantSet

setCellRendererTextVariantSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`variant-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #variantSet := value ]

## weight

No description available in the introspection data.

constructCellRendererTextWeight :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`weight`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextWeight :: (MonadIO m, IsCellRendererText o) => o -> m Int32 Source #

Get the value of the “`weight`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #weight

setCellRendererTextWeight :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m () Source #

Set the value of the “`weight`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #weight := value ]

## weightSet

No description available in the introspection data.

constructCellRendererTextWeightSet :: (IsCellRendererText o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`weight-set`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextWeightSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool Source #

Get the value of the “`weight-set`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #weightSet

setCellRendererTextWeightSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m () Source #

Set the value of the “`weight-set`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #weightSet := value ]

## widthChars

The desired width of the cell, in characters. If this property is set to -1, the width will be calculated automatically, otherwise the cell will request either 3 characters or the property value, whichever is greater.

constructCellRendererTextWidthChars :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`width-chars`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextWidthChars :: (MonadIO m, IsCellRendererText o) => o -> m Int32 Source #

Get the value of the “`width-chars`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #widthChars

setCellRendererTextWidthChars :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m () Source #

Set the value of the “`width-chars`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #widthChars := value ]

## wrapMode

Specifies how to break the string into multiple lines, if the cell renderer does not have enough room to display the entire string. This property has no effect unless the wrap-width property is set.

constructCellRendererTextWrapMode :: (IsCellRendererText o, MonadIO m) => WrapMode -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`wrap-mode`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextWrapMode :: (MonadIO m, IsCellRendererText o) => o -> m WrapMode Source #

Get the value of the “`wrap-mode`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #wrapMode

setCellRendererTextWrapMode :: (MonadIO m, IsCellRendererText o) => o -> WrapMode -> m () Source #

Set the value of the “`wrap-mode`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #wrapMode := value ]

## wrapWidth

Specifies the minimum width at which the text is wrapped. The wrap-mode property can be used to influence at what character positions the line breaks can be placed. Setting wrap-width to -1 turns wrapping off.

constructCellRendererTextWrapWidth :: (IsCellRendererText o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`wrap-width`” property. This is rarely needed directly, but it is used by `new`.

getCellRendererTextWrapWidth :: (MonadIO m, IsCellRendererText o) => o -> m Int32 Source #

Get the value of the “`wrap-width`” property. When overloading is enabled, this is equivalent to

    get cellRendererText #wrapWidth

setCellRendererTextWrapWidth :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m () Source #

Set the value of the “`wrap-width`” property. When overloading is enabled, this is equivalent to

    set cellRendererText [ #wrapWidth := value ]

# Signals

## edited

type CellRendererTextEditedCallback Source #

Arguments

= Text | `path`: the path identifying the edited cell
-> Text | `newText`: the new text
-> IO () |

This signal is emitted after `renderer` has been edited.

It is the responsibility of the application to update the model and store `newText` at the position indicated by `path`.

afterCellRendererTextEdited :: (IsCellRendererText a, MonadIO m) => a -> ((?self :: a) => CellRendererTextEditedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the edited signal, to be run after the default handler. When overloading is enabled, this is equivalent to

    after cellRendererText #edited callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit `?self` parameter. Note that this requires activating the `ImplicitParams` GHC extension.

onCellRendererTextEdited :: (IsCellRendererText a, MonadIO m) => a -> ((?self :: a) => CellRendererTextEditedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the edited signal, to be run before the default handler. When overloading is enabled, this is equivalent to

    on cellRendererText #edited callback