CellRendererText.alignment

pango.types.Alignment alignment() @property

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 [gtk.cell_renderer.CellRenderer], on the other hand, sets the horizontal alignment of the whole text.

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

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 [gtk.cell_renderer.CellRenderer], on the other hand, sets the horizontal alignment of the whole text.