TabArray.with_positions


Description:

[ CCode ( has_construct_function = false ) ]
public TabArray.with_positions (int size, bool positions_in_pixels, TabAlign first_alignment, ...)

Creates a `PangoTabArray` and allows you to specify the alignment and position of each tab stop.

You **must** provide an alignment and position for size tab stops.

Parameters:

size

number of tab stops in the array

positions_in_pixels

whether positions are in pixel units

first_alignment

alignment of first tab stop

...

additional alignment/position pairs

first_position

position of first tab stop

Returns:

the newly allocated `PangoTabArray`, which should be freed with [method@Pango.TabArray.free].