pango.TabArray — an object containing an array of tab stops.
| class pango.TabArray(gobject.GBoxed): | 
A pango.TabArray
object contains an array of tab stops. Each tab stop has an alignment and a
position.
    pango.TabArray(initial_size, positions_in_pixels)| 
 | Initial number of tab stops to allocate, can be 0 | 
| 
 | if Truethe tab positions are
in pixel units | 
| Returns : | a pango.TabArray | 
Creates a new pango.TabArray
object with the number of tab stops specified by
initial_size. If
positions_in_pixels is True, the
tab stop positions are specified in pixel units otherwise in pango units
(one pixel = pango.SCALE pango units). All tab stops are
initially at position 0.
    def copy()| Returns : | a new pango.TabArrayobject | 
The copy() method returns a new pango.TabArray
that is copy of this pango.TabArray.
    def get_size()| Returns : | the number of tab stops in the array. | 
The get_size() method returns the
number of tab stops in the tab array.
    def resize(new_size)| 
 | the new size of the array | 
The resize() method sets the size of
the tab array to the value specified by new_size. You
must subsequently initialize any tabs that were added to the array.
    def set_tab(tab_index, alignment, location)| 
 | the index of a tab stop | 
| 
 | the tab alignment | 
| 
 | the tab location in pango units | 
The set_tab() method sets the specified
alignment and location of the
tab stop specified by tab_index. The value of
alignment must always be
pango.TAB_LEFT in the current implementation.
    def get_tab(tab_index)| 
 | the tab stop index | 
| Returns : | a 2-tuple containing the tab alignment and position | 
The get_tab() method returns a 2-tuple
containing the alignment and position of the tab stop specified by
tab_index.