Additional Pango attributes needed by LibFO

Additional Pango attributes needed by LibFO

Functions

Types and Values

Description

Functions

libfo_pango_attr_callback_get_callback ()

gpointer
libfo_pango_attr_callback_get_callback
                               (const PangoAttribute *attr);

Get the callback associated with attr .

Parameters

attr

The 'callback' attribute.

 

Returns

The callback.


libfo_pango_attr_callback_get_type ()

PangoAttrType
libfo_pango_attr_callback_get_type (void);

Register the 'callback' PangoAttribute type.

Returns

The new PangoAttrType.


libfo_pango_attr_callback_new ()

PangoAttribute *
libfo_pango_attr_callback_new (gpointer callback);

Create a new callback attribute.

Parameters

callback

the callback

 

Returns

the new PangoAttribute.

Types and Values

struct LibfoPangoAttrPointer

struct LibfoPangoAttrPointer {
  PangoAttribute attr;
  gpointer pointer;
};