Property Details
The "align-set"
property
"align-set" gboolean : Read / Write
Whether this tag affects the alignment mode.
Default value: FALSE
The "alignment"
property
"alignment" PangoAlignment : Read / Write
Specifies how to align the lines of text with respect to each other.
Note that this property describes how to align the lines of text in
case there are several of them. The "xalign" property of GtkCellRenderer,
on the other hand, sets the horizontal alignment of the whole text.
Default value: PANGO_ALIGN_LEFT
Since 2.10
The "attributes"
property
"attributes" PangoAttrList* : Read / Write
A list of style attributes to apply to the text of the renderer.
The "background"
property
"background" gchar* : Write
Background color as a string.
Default value: NULL
The "background-gdk"
property
"background-gdk" GdkColor* : Read / Write
Background color as a GdkColor.
The "background-set"
property
"background-set" gboolean : Read / Write
Whether this tag affects the background color.
Default value: FALSE
The "editable"
property
"editable" gboolean : Read / Write
Whether the text can be modified by the user.
Default value: FALSE
The "editable-set"
property
"editable-set" gboolean : Read / Write
Whether this tag affects text editability.
Default value: FALSE
The "ellipsize"
property
"ellipsize" PangoEllipsizeMode : Read / Write
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
PANGO_ELLIPSIZE_NONE
turns off ellipsizing. See the wrap-width property
for another way of making the text fit into a given width.
Default value: PANGO_ELLIPSIZE_NONE
Since 2.6
The "ellipsize-set"
property
"ellipsize-set" gboolean : Read / Write
Whether this tag affects the ellipsize mode.
Default value: FALSE
The "family"
property
"family" gchar* : Read / Write
Name of the font family, e.g. Sans, Helvetica, Times, Monospace.
Default value: NULL
The "family-set"
property
"family-set" gboolean : Read / Write
Whether this tag affects the font family.
Default value: FALSE
The "font"
property
"font" gchar* : Read / Write
Font description as a string, e.g. "Sans Italic 12".
Default value: NULL
The "font-desc"
property
"font-desc" PangoFontDescription* : Read / Write
Font description as a PangoFontDescription struct.
The "foreground"
property
"foreground" gchar* : Write
Foreground color as a string.
Default value: NULL
The "foreground-gdk"
property
"foreground-gdk" GdkColor* : Read / Write
Foreground color as a GdkColor.
The "foreground-set"
property
"foreground-set" gboolean : Read / Write
Whether this tag affects the foreground color.
Default value: FALSE
The "language"
property
"language" gchar* : Read / Write
The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it.
Default value: NULL
The "language-set"
property
"language-set" gboolean : Read / Write
Whether this tag affects the language the text is rendered as.
Default value: FALSE
The "markup"
property
"markup" gchar* : Write
Marked up text to render.
Default value: NULL
The "rise"
property
"rise" gint : Read / Write
Offset of text above the baseline (below the baseline if rise is negative).
Allowed values: >= -2147483647
Default value: 0
The "rise-set"
property
"rise-set" gboolean : Read / Write
Whether this tag affects the rise.
Default value: FALSE
The "scale"
property
"scale" gdouble : Read / Write
Font scaling factor.
Allowed values: >= 0
Default value: 1
The "scale-set"
property
"scale-set" gboolean : Read / Write
Whether this tag scales the font size by a factor.
Default value: FALSE
The "single-paragraph-mode"
property
"single-paragraph-mode" gboolean : Read / Write
Whether or not to keep all text in a single paragraph.
Default value: FALSE
The "size"
property
"size" gint : Read / Write
Font size.
Allowed values: >= 0
Default value: 0
The "size-points"
property
"size-points" gdouble : Read / Write
Font size in points.
Allowed values: >= 0
Default value: 0
The "size-set"
property
"size-set" gboolean : Read / Write
Whether this tag affects the font size.
Default value: FALSE
The "stretch"
property
"stretch" PangoStretch : Read / Write
Font stretch.
Default value: PANGO_STRETCH_NORMAL
The "stretch-set"
property
"stretch-set" gboolean : Read / Write
Whether this tag affects the font stretch.
Default value: FALSE
The "strikethrough"
property
"strikethrough" gboolean : Read / Write
Whether to strike through the text.
Default value: FALSE
The "strikethrough-set"
property
"strikethrough-set" gboolean : Read / Write
Whether this tag affects strikethrough.
Default value: FALSE
The "style"
property
"style" PangoStyle : Read / Write
Font style.
Default value: PANGO_STYLE_NORMAL
The "style-set"
property
"style-set" gboolean : Read / Write
Whether this tag affects the font style.
Default value: FALSE
The "text"
property
"text" gchar* : Read / Write
Text to render.
Default value: NULL
The "underline"
property
"underline" PangoUnderline : Read / Write
Style of underline for this text.
Default value: PANGO_UNDERLINE_NONE
The "underline-set"
property
"underline-set" gboolean : Read / Write
Whether this tag affects underlining.
Default value: FALSE
The "variant"
property
"variant" PangoVariant : Read / Write
Font variant.
Default value: PANGO_VARIANT_NORMAL
The "variant-set"
property
"variant-set" gboolean : Read / Write
Whether this tag affects the font variant.
Default value: FALSE
The "weight"
property
"weight" gint : Read / Write
Font weight.
Allowed values: >= 0
Default value: 400
The "weight-set"
property
"weight-set" gboolean : Read / Write
Whether this tag affects the font weight.
Default value: FALSE
The "width-chars"
property
"width-chars" gint : Read / Write
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.
Allowed values: >= -1
Default value: -1
Since 2.6
The "wrap-mode"
property
"wrap-mode" PangoWrapMode : Read / Write
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.
Default value: PANGO_WRAP_CHAR
Since 2.8
The "wrap-width"
property
"wrap-width" gint : Read / Write
Specifies the 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.
Allowed values: >= -1
Default value: -1
Since 2.8