### Function

# Pango TabArraynew

#### Declaration [src]

    PangoTabArray*
    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.

#### Parameters

`initial_size`

  Type: `gint`

  Initial number of tab stops to allocate, can be 0

`positions_in_pixels`

  Type: `gboolean`

  Whether positions are in pixel units.

#### Return value

Type: `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.