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(void* ptr, Flag!"Take" take)
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.

cPtr
void* cPtr(Flag!"Dup" dup)
copy
pango.item.Item copy()

Copy an existing pango.item.Item structure.

self
Item self()

Returns this, for use in with statements.

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.

Properties

analysis
pango.analysis.Analysis analysis [@property getter]

Get field analysis.

gType
GType gType [@property getter]
length
int length [@property getter]

Get field length.

length
int length [@property setter]

Set field length.

numChars
int numChars [@property getter]

Get field numChars.

numChars
int numChars [@property setter]

Set field numChars.

offset
int offset [@property getter]

Get field offset.

offset
int offset [@property setter]

Set field offset.

Static functions

getGType
GType getGType()

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.