Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- Properties
- alignSet
- alignment
- attributes
- background
- backgroundGdk
- backgroundRgba
- backgroundSet
- editable
- editableSet
- ellipsize
- ellipsizeSet
- family
- familySet
- font
- fontDesc
- foreground
- foregroundGdk
- 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
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
- newtype CellRendererText = CellRendererText (ManagedPtr CellRendererText)
- class (GObject o, IsDescendantOf CellRendererText o) => IsCellRendererText o
- toCellRendererText :: (MonadIO m, IsCellRendererText o) => o -> m CellRendererText
- noCellRendererText :: Maybe CellRendererText
- cellRendererTextNew :: (HasCallStack, MonadIO m) => m CellRendererText
- cellRendererTextSetFixedHeightFromFont :: (HasCallStack, MonadIO m, IsCellRendererText a) => a -> Int32 -> m ()
- constructCellRendererTextAlignSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextAlignSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextAlignSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextAlignment :: IsCellRendererText o => Alignment -> IO (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 => AttrList -> IO (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 => Text -> IO (GValueConstruct o)
- setCellRendererTextBackground :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- clearCellRendererTextBackgroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextBackgroundGdk :: IsCellRendererText o => Color -> IO (GValueConstruct o)
- getCellRendererTextBackgroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Color)
- setCellRendererTextBackgroundGdk :: (MonadIO m, IsCellRendererText o) => o -> Color -> m ()
- clearCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextBackgroundRgba :: IsCellRendererText o => RGBA -> IO (GValueConstruct o)
- getCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe RGBA)
- setCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> RGBA -> m ()
- constructCellRendererTextBackgroundSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextBackgroundSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextBackgroundSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextEditable :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextEditable :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextEditable :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextEditableSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextEditableSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextEditableSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextEllipsize :: IsCellRendererText o => EllipsizeMode -> IO (GValueConstruct o)
- getCellRendererTextEllipsize :: (MonadIO m, IsCellRendererText o) => o -> m EllipsizeMode
- setCellRendererTextEllipsize :: (MonadIO m, IsCellRendererText o) => o -> EllipsizeMode -> m ()
- constructCellRendererTextEllipsizeSet :: IsCellRendererText o => Bool -> IO (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 => Text -> IO (GValueConstruct o)
- getCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text)
- setCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextFamilySet :: IsCellRendererText o => Bool -> IO (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 => Text -> IO (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 => FontDescription -> IO (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 => Text -> IO (GValueConstruct o)
- setCellRendererTextForeground :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- clearCellRendererTextForegroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextForegroundGdk :: IsCellRendererText o => Color -> IO (GValueConstruct o)
- getCellRendererTextForegroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Color)
- setCellRendererTextForegroundGdk :: (MonadIO m, IsCellRendererText o) => o -> Color -> m ()
- clearCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m ()
- constructCellRendererTextForegroundRgba :: IsCellRendererText o => RGBA -> IO (GValueConstruct o)
- getCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe RGBA)
- setCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> RGBA -> m ()
- constructCellRendererTextForegroundSet :: IsCellRendererText o => Bool -> IO (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 => Text -> IO (GValueConstruct o)
- getCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text)
- setCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextLanguageSet :: IsCellRendererText o => Bool -> IO (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 => Text -> IO (GValueConstruct o)
- setCellRendererTextMarkup :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextMaxWidthChars :: IsCellRendererText o => Int32 -> IO (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 => Text -> IO (GValueConstruct o)
- getCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text)
- setCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextRise :: IsCellRendererText o => Int32 -> IO (GValueConstruct o)
- getCellRendererTextRise :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextRise :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- constructCellRendererTextRiseSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextRiseSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextRiseSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextScale :: IsCellRendererText o => Double -> IO (GValueConstruct o)
- getCellRendererTextScale :: (MonadIO m, IsCellRendererText o) => o -> m Double
- setCellRendererTextScale :: (MonadIO m, IsCellRendererText o) => o -> Double -> m ()
- constructCellRendererTextScaleSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextScaleSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextScaleSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextSingleParagraphMode :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextSingleParagraphMode :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextSingleParagraphMode :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextSize :: IsCellRendererText o => Int32 -> IO (GValueConstruct o)
- getCellRendererTextSize :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextSize :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- constructCellRendererTextSizePoints :: IsCellRendererText o => Double -> IO (GValueConstruct o)
- getCellRendererTextSizePoints :: (MonadIO m, IsCellRendererText o) => o -> m Double
- setCellRendererTextSizePoints :: (MonadIO m, IsCellRendererText o) => o -> Double -> m ()
- constructCellRendererTextSizeSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextSizeSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextSizeSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextStretch :: IsCellRendererText o => Stretch -> IO (GValueConstruct o)
- getCellRendererTextStretch :: (MonadIO m, IsCellRendererText o) => o -> m Stretch
- setCellRendererTextStretch :: (MonadIO m, IsCellRendererText o) => o -> Stretch -> m ()
- constructCellRendererTextStretchSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextStretchSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextStretchSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextStrikethrough :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextStrikethrough :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextStrikethrough :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextStrikethroughSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextStrikethroughSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextStrikethroughSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextStyle :: IsCellRendererText o => Style -> IO (GValueConstruct o)
- getCellRendererTextStyle :: (MonadIO m, IsCellRendererText o) => o -> m Style
- setCellRendererTextStyle :: (MonadIO m, IsCellRendererText o) => o -> Style -> m ()
- constructCellRendererTextStyleSet :: IsCellRendererText o => Bool -> IO (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 => Text -> IO (GValueConstruct o)
- getCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Text)
- setCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> Text -> m ()
- constructCellRendererTextUnderline :: IsCellRendererText o => Underline -> IO (GValueConstruct o)
- getCellRendererTextUnderline :: (MonadIO m, IsCellRendererText o) => o -> m Underline
- setCellRendererTextUnderline :: (MonadIO m, IsCellRendererText o) => o -> Underline -> m ()
- constructCellRendererTextUnderlineSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextUnderlineSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextUnderlineSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextVariant :: IsCellRendererText o => Variant -> IO (GValueConstruct o)
- getCellRendererTextVariant :: (MonadIO m, IsCellRendererText o) => o -> m Variant
- setCellRendererTextVariant :: (MonadIO m, IsCellRendererText o) => o -> Variant -> m ()
- constructCellRendererTextVariantSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextVariantSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextVariantSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextWeight :: IsCellRendererText o => Int32 -> IO (GValueConstruct o)
- getCellRendererTextWeight :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextWeight :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- constructCellRendererTextWeightSet :: IsCellRendererText o => Bool -> IO (GValueConstruct o)
- getCellRendererTextWeightSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
- setCellRendererTextWeightSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
- constructCellRendererTextWidthChars :: IsCellRendererText o => Int32 -> IO (GValueConstruct o)
- getCellRendererTextWidthChars :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextWidthChars :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- constructCellRendererTextWrapMode :: IsCellRendererText o => WrapMode -> IO (GValueConstruct o)
- getCellRendererTextWrapMode :: (MonadIO m, IsCellRendererText o) => o -> m WrapMode
- setCellRendererTextWrapMode :: (MonadIO m, IsCellRendererText o) => o -> WrapMode -> m ()
- constructCellRendererTextWrapWidth :: IsCellRendererText o => Int32 -> IO (GValueConstruct o)
- getCellRendererTextWrapWidth :: (MonadIO m, IsCellRendererText o) => o -> m Int32
- setCellRendererTextWrapWidth :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
- type C_CellRendererTextEditedCallback = Ptr () -> CString -> CString -> Ptr () -> IO ()
- type CellRendererTextEditedCallback = Text -> Text -> IO ()
- afterCellRendererTextEdited :: (IsCellRendererText a, MonadIO m) => a -> CellRendererTextEditedCallback -> m SignalHandlerId
- genClosure_CellRendererTextEdited :: MonadIO m => CellRendererTextEditedCallback -> m (GClosure C_CellRendererTextEditedCallback)
- mk_CellRendererTextEditedCallback :: C_CellRendererTextEditedCallback -> IO (FunPtr C_CellRendererTextEditedCallback)
- noCellRendererTextEditedCallback :: Maybe CellRendererTextEditedCallback
- onCellRendererTextEdited :: (IsCellRendererText a, MonadIO m) => a -> CellRendererTextEditedCallback -> m SignalHandlerId
- wrap_CellRendererTextEditedCallback :: CellRendererTextEditedCallback -> C_CellRendererTextEditedCallback
Exported types
newtype CellRendererText Source #
Memory-managed wrapper type.
Instances
Eq CellRendererText Source # | |
Defined in GI.Gtk.Objects.CellRendererText (==) :: CellRendererText -> CellRendererText -> Bool # (/=) :: CellRendererText -> CellRendererText -> Bool # | |
IsGValue CellRendererText Source # | Convert |
Defined in GI.Gtk.Objects.CellRendererText toGValue :: CellRendererText -> IO GValue # fromGValue :: GValue -> IO CellRendererText # | |
GObject CellRendererText Source # | |
Defined in GI.Gtk.Objects.CellRendererText gobjectType :: IO GType # | |
HasParentTypes CellRendererText Source # | |
Defined in GI.Gtk.Objects.CellRendererText | |
type ParentTypes CellRendererText Source # | |
Defined in GI.Gtk.Objects.CellRendererText |
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
(GObject o, IsDescendantOf CellRendererText o) => IsCellRendererText o Source # | |
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
.
noCellRendererText :: Maybe CellRendererText Source #
A convenience alias for Nothing
:: Maybe
CellRendererText
.
Methods
Overloaded methods
new
:: (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 #
:: (HasCallStack, MonadIO m, IsCellRendererText a) | |
=> a |
|
-> Int32 |
|
-> 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 #
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
genClosure_CellRendererTextEdited :: MonadIO m => CellRendererTextEditedCallback -> m (GClosure C_CellRendererTextEditedCallback) Source #
Wrap the callback into a GClosure
.
mk_CellRendererTextEditedCallback :: C_CellRendererTextEditedCallback -> IO (FunPtr C_CellRendererTextEditedCallback) Source #
Generate a function pointer callable from C code, from a C_CellRendererTextEditedCallback
.
noCellRendererTextEditedCallback :: Maybe CellRendererTextEditedCallback Source #
A convenience synonym for
.Nothing
:: Maybe
CellRendererTextEditedCallback
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