CellRendererText.alignment

Get alignment property.

  1. pango.types.Alignment alignment [@property getter]
    class CellRendererText
    @property
    alignment
    ()
  2. pango.types.Alignment alignment [@property setter]

Return Value

Type: pango.types.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 gtk.cell_renderer.CellRenderer, on the other hand, sets the horizontal alignment of the whole text.