gi-gtk-3.0.24: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.CellRendererText

Contents

Description

A CellRendererText 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 CellRendererText:ellipsize property allows it.

If the CellRenderer:mode is CellRendererModeEditable, the CellRendererText allows to edit its text using an entry.

Synopsis

Exported types

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

new

cellRendererTextNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m CellRendererText

Returns: the new cell renderer

Creates a new CellRendererText. Adjust how text is drawn using object properties. Object properties can be set globally (with g_object_set()). Also, with TreeViewColumn, you can bind a property to a value in a TreeModel. 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 TreeView

setFixedHeightFromFont

cellRendererTextSetFixedHeightFromFont Source #

Arguments

:: (HasCallStack, MonadIO m, IsCellRendererText a) 
=> a

renderer: A CellRendererText

-> Int32

numberOfRows: Number of rows of text each cell renderer is allocated, or -1

-> m () 

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 unflexible, 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 => Bool -> IO (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 CellRenderer, on the other hand, sets the horizontal alignment of the whole text.

Since: 2.10

constructCellRendererTextAlignment :: IsCellRendererText o => Alignment -> IO (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 => AttrList -> IO (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 => 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.

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 ]

backgroundGdk

Background color as a Color

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

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

clear #backgroundGdk

constructCellRendererTextBackgroundGdk :: IsCellRendererText o => Color -> IO (GValueConstruct o) Source #

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

getCellRendererTextBackgroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Color) Source #

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

get cellRendererText #backgroundGdk

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

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

set cellRendererText [ #backgroundGdk := value ]

backgroundRgba

Background color as a RGBA

Since: 3.0

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 => RGBA -> IO (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 => 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.

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 => Bool -> IO (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 => Bool -> IO (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.

Since: 2.6

constructCellRendererTextEllipsize :: IsCellRendererText o => EllipsizeMode -> IO (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 => Bool -> IO (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 => Text -> IO (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 => Bool -> IO (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 => Text -> IO (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 => FontDescription -> IO (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 => 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.

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 ]

foregroundGdk

Foreground color as a Color

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

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

clear #foregroundGdk

constructCellRendererTextForegroundGdk :: IsCellRendererText o => Color -> IO (GValueConstruct o) Source #

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

getCellRendererTextForegroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Color) Source #

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

get cellRendererText #foregroundGdk

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

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

set cellRendererText [ #foregroundGdk := value ]

foregroundRgba

Foreground color as a RGBA

Since: 3.0

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 => RGBA -> IO (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 => 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.

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 => Text -> IO (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 => Bool -> IO (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 => Text -> IO (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 CellLayout and all of the cell's siblings have received their natural width.

Since: 3.0

constructCellRendererTextMaxWidthChars :: IsCellRendererText o => Int32 -> IO (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 CellRenderer if CellRendererText:editable is True and the cell is empty.

Since 3.6

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 => Text -> IO (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 => Int32 -> IO (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 => Bool -> IO (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 => Double -> 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.

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 => 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.

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 => Bool -> IO (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 => Int32 -> IO (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 => Double -> IO (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 => Bool -> IO (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 => Stretch -> IO (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 => Bool -> IO (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 => 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.

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 => 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.

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 => Style -> IO (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 => Bool -> IO (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 => Text -> IO (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 => Underline -> 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.

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 => 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.

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 => Variant -> IO (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 => Bool -> IO (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 => Int32 -> IO (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 => Bool -> IO (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.

Since: 2.6

constructCellRendererTextWidthChars :: IsCellRendererText o => Int32 -> IO (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.

Since: 2.8

constructCellRendererTextWrapMode :: IsCellRendererText o => WrapMode -> IO (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.

Since: 2.8

constructCellRendererTextWrapWidth :: IsCellRendererText o => Int32 -> IO (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 C_CellRendererTextEditedCallback = Ptr () -> CString -> CString -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

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 -> 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

onCellRendererTextEdited :: (IsCellRendererText a, MonadIO m) => 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