Declaration [src]

pango_tab_array_new (
  gint initial_size,
  gboolean positions_in_pixels

Description [src]

Creates an array of initial_size tab stops.

Tab stops are specified in pixel units if positions_in_pixels is TRUE, otherwise in Pango units. All stops are initially at position 0.


initial_size gint

Initial number of tab stops to allocate, can be 0

positions_in_pixels gboolean

Whether positions are in pixel units.

Return value

Returns: PangoTabArray

The newly allocated PangoTabArray, which should be freed with pango_tab_array_free().

 The caller of the function takes ownership of the data, and is responsible for freeing it.