Struct
Pango.TabArray
Description [src]
struct PangoTabArray {
/* No available fields */
}
A PangoTabArray
contains an array of tab stops.
PangoTabArray
can be used to set tab stops in a PangoLayout
.
Each tab stop has an alignment and a position.
Constructors
pango_tab_array_new
Creates an array of initial_size
tab stops.
pango_tab_array_new_with_positions
Creates a PangoTabArray
and allows you to specify the alignment
and position of each tab stop.
Instance methods
pango_tab_array_copy
Copies a PangoTabArray
.
pango_tab_array_free
Frees a tab array and associated resources.
pango_tab_array_get_positions_in_pixels
Returns TRUE
if the tab positions are in pixels,
FALSE
if they are in Pango units.
pango_tab_array_get_size
Gets the number of tab stops in tab_array
.
pango_tab_array_get_tab
Gets the alignment and position of a tab stop.
pango_tab_array_get_tabs
If non-NULL
, alignments
and locations
are filled with allocated arrays.
pango_tab_array_resize
Resizes a tab array.
pango_tab_array_set_tab
Sets the alignment and location of a tab stop.