itemizeWithBaseDir

Like [pango.global.itemize], but with an explicitly specified base direction.

The base direction is used when computing bidirectional levels. funcitemize gets the base direction from the pango.context.Context (see pango.context.Context.setBaseDir).

Parameters

context pango.context.Context

a structure holding information that affects the itemization process.

baseDir pango.types.Direction

base direction to use for bidirectional processing

text string

the text to itemize.

startIndex int

first byte in text to process

length int

the number of bytes (not characters) to process after start_index. This must be >= 0.

attrs pango.attr_list.AttrList

the set of attributes that apply to text.

cachedIter pango.attr_iterator.AttrIterator

Cached attribute iterator

Return Value

Type: pango.item.Item[]

a glib.list.List of pango.item.Item structures. The items should be freed using pango.item.Item.free probably in combination with glib.list.List.freeFull.