Item

The pango.item.Item structure stores information about a segment of text.

You typically obtain PangoItems by itemizing a piece of text with func@itemize.

Constructors

this
this()

Creates a new pango.item.Item structure initialized to default values.

Members

Functions

applyAttrs
void applyAttrs(pango.attr_iterator.AttrIterator iter)

Add attributes to a pango.item.Item.

copy
pango.item.Item copy()

Copy an existing pango.item.Item structure.

split
pango.item.Item split(int splitIndex, int splitOffset)

Modifies orig to cover only the text after split_index, and returns a new item that covers the text before split_index that used to be in orig.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.