Package: pango

Function pango-layout-tabs

Lambda List

pango-layout-tabs (layout)

Syntax

(pango-layout-tabs layout) => tabs
(setf (pango-layout-tabs layout) tabs)

Arguments

layout -- a pango-layout object
tabs -- a pango-tab-array, or nil

Details

Accessor of the tabs for the Pango layout.

The function pango-layout-tabs gets the current pango-tab-array instance used by this layout. The function (setf pango-layout-tabs) sets the tabs to use for the layout.

If no PangoTabArray has been set, then the default tabs are in use and nil is returned. Default tabs are every 8 spaces. The return value should be freed with the function pango-tab-array-free.
 

See also

2021-1-15