Creates a Pango tab array and allows you to specify the alignment
and position of each tab stop. Tab stops are specified in
pixel units if positions_in_pixels
is True
, otherwise in Pango units.
For each tab stop you must provide an alignment and a position. The
alignN
parameter can be one of the following constants:
#PANGO_TAB_LEFT
-
The text appears to the right of the tab stop position.
#PANGO_TAB_RIGHT
-
The text appears to the left of the tab stop position until the available space is filled.
#PANGO_TAB_CENTER
-
The text is centered at the tab stop position until the available space is filled.
#PANGO_TAB_DECIMAL
-
Text before the first occurrence of the decimal point character appears to the left of the
tab stop position (until the available space is filled), the rest to the right.
This function returns the newly allocated Pango tab array, which should
be freed with ptabarray:Free().