CellRendererText.alignment

pango.types.Alignment alignment() @property nothrow

Get alignment property.

Returns

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.

void alignment(pango.types.Alignment propval) @property nothrow

Set alignment property.

Parameters

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