Method

PangoAttributeinit

Declaration [src]

void
pango_attribute_init (
  PangoAttribute* attr,
  const PangoAttrClass* klass
)

Description [src]

Initializes attrs klass to klass, it’s start_index to PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING and end_index to PANGO_ATTR_INDEX_TO_TEXT_END such that the attribute applies to the entire text by default.

Available since:1.20

Parameters

klass PangoAttrClass
 

A PangoAttrClass

 The data is owned by the caller of the function.