Pango.Attribute.init
Description: Reference for Pango.Attribute.init

### Method

# Pango.Attribute.init

#### Declaration [src]

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

#### Description [src]

Initializes `attr`‘s 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.

#### Parameters

`klass` | `PangoAttrClass`
| a `PangoAttrClass`
| Ownership is not transferred to the callee