[Contents] [Back] [Prev] [Up] [Next] [Forward]

# Package Pango.Attributes

This package provides a set of types and subprograms to manipulate the attributes of text displayed in a pango_layout

- Pango.Attributes Types
- Pango.Attributes Subprograms

## Types

    type Pango_Attr_List is new Glib.C_Proxy;

    type Pango_Attribute is new Glib.C_Proxy;

## Subprograms

### Attributes

    function Attr_Underline_New
      (Underline          :        Pango.Enums.Underline)
       return Pango_Attribute;

| Create a new underline attribute

### Attributes list

    procedure Gdk_New
      (Attr_List          : out    Pango_Attr_List);

| Create a new empty list of attributes

    procedure Ref
      (Attr_List          :        Pango_Attr_List);

| Increment the reference count of the attribute list

    procedure Unref
      (Attr_List          :        Pango_Attr_List);

| Decrement the reference count of the attribute list. When it reaches 0, the list is destroyed.

    procedure Insert
      (Attr_List          :        Pango_Attr_List;
       Attribute          :        Pango_Attribute);

| Insert a new attribute in the list

[Contents] [Back] [Prev] [Up] [Next] [Forward]