
@c %start of fragment

@deftp Class <pango-tab-array>
Derives from @code{<gboxed>}.

@end deftp

@deffn Function pango-tab-array-new  (initial_size@tie{}@code{int}) (positions_in_pixels@tie{}@code{bool}) @result{}@tie{} (ret@tie{}@code{<pango-tab-array>})
Creates an array of @var{initial-size} tab stops. Tab stops are specified in
pixel units if @var{positions-in-pixels} is @samp{@code{#t}}, otherwise in Pango
units. All stops are initially at position 0.

@table @var
@item initial-size
Initial number of tab stops to allocate, can be 0

@item positions-in-pixels
whether positions are in pixel units

@item ret
the newly allocated @code{<pango-tab-array>}, which should be freed with
@code{pango-tab-array-free}.

@end table

@end deffn

@deffn Function pango-tab-array-copy  (self@tie{}@code{<pango-tab-array>}) @result{}@tie{} (ret@tie{}@code{<pango-tab-array>})
Copies a @code{<pango-tab-array>}

@table @var
@item src
@code{<pango-tab-array>} to copy

@item ret
the newly allocated @code{<pango-tab-array>}, which should be freed with
@code{pango-tab-array-free}.

@end table

@end deffn

@deffn Function pango-tab-array-get-size  (self@tie{}@code{<pango-tab-array>}) @result{}@tie{} (ret@tie{}@code{int})
Gets the number of tab stops in @var{tab-array}.

@table @var
@item tab-array
a @code{<pango-tab-array>}

@item ret
the number of tab stops in the array.

@end table

@end deffn

@deffn Function pango-tab-array-resize  (self@tie{}@code{<pango-tab-array>}) (new_size@tie{}@code{int})
Resizes a tab array. You must subsequently initialize any tabs that were added
as a result of growing the array.

@table @var
@item tab-array
a @code{<pango-tab-array>}

@item new-size
new size of the array

@end table

@end deffn

@deffn Function pango-tab-array-set-tab  (self@tie{}@code{<pango-tab-array>}) (tab_index@tie{}@code{int}) (alignment@tie{}@code{<pango-tab-align>}) (location@tie{}@code{int})
Sets the alignment and location of a tab stop. @var{alignment} must always be
@code{<pango-tab-left>} in the current implementation.

@table @var
@item tab-array
a @code{<pango-tab-array>}

@item tab-index
the index of a tab stop

@item alignment
tab alignment

@item location
tab location in Pango units

@end table

@end deffn


@c %end of fragment
