Additional Pango attributes needed by LibFO

Additional Pango attributes needed by LibFO —

Synopsis




            LibfoPangoAttrPointer;
gpointer    libfo_pango_attr_callback_get_callback
                                            (const PangoAttribute *attr);
PangoAttrType libfo_pango_attr_callback_get_type
                                            (void);
PangoAttribute* libfo_pango_attr_callback_new
                                            (gpointer callback);

Description

Details

LibfoPangoAttrPointer

typedef struct {
  PangoAttribute attr;
  gpointer pointer;
} LibfoPangoAttrPointer;


libfo_pango_attr_callback_get_callback ()

gpointer    libfo_pango_attr_callback_get_callback
                                            (const PangoAttribute *attr);

Get the callback associated with attr.

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.

callback : the callback
Returns : the new PangoAttribute.