---
name: "Pango::TabArray"
section: "3pm"
platform: "linux"
package: "pango-perl"
version: "1.227-20"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Pango::TabArray"
---

# Pango::TabArray(3pm)

wrapper for PangoTabArray

## NAME

Pango::TabArray - wrapper for PangoTabArray

## HIERARCHY

```
  Glib::Boxed
  +----Pango::TabArray
```

## METHODS

### tabarray = Pango::TabArray-\>new ($initial\_size, $positions\_in\_pixels, ...)

- •

  `$initial_size` (integer)

- •

  `$positions_in_pixels` (boolean)

- •

  ... (list) pairs of Pango::TabAlign's and integers, the alignments and positions of the tab stops.

### tabarray = Pango::TabArray-\>new\_with\_positions ($initial\_size, $positions\_in\_pixels, ...)

- •

  `$initial_size` (integer)

- •

  `$positions_in_pixels` (boolean)

- •

  ... (list) pairs of Pango::TabAlign's and integers, the alignments and positions of the tab stops.

Alias for new.

### boolean = $tab\_array-\>get\_positions\_in\_pixels

### $tab\_array-\>resize ($new\_size)

- •

  `$new_size` (integer)

### integer = $tab\_array-\>get\_size

### list = $tab\_array-\>get\_tab ($tab\_index)

- •

  `$tab_index` (integer)

### $tab\_array-\>set\_tab ($tab\_index, $alignment, $location)

- •

  `$tab_index` (integer)

- •

  `$alignment` (Pango::TabAlign)

- •

  `$location` (integer)

### list = $tab\_array-\>get\_tabs

Returns a list of Pango::TabAlign's, alignments, and integers, locations.  Even elemtents are alignments and odd elements are locations, so 0 is the first alignment and 1 is the first location, 2 the second alignment, 3 the second  location, etc.

## ENUMS AND FLAGS

### enum Pango::TabAlign

- •

  'left' / 'PANGO\_TAB\_LEFT'

- •

  'right' / 'PANGO\_TAB\_RIGHT'

- •

  'center' / 'PANGO\_TAB\_CENTER'

- •

  'decimal' / 'PANGO\_TAB\_DECIMAL'

## SEE ALSO

Pango, Glib::Boxed

## COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See Pango for a full notice.
