Method

BirbPangoFormatterformat

since: 0.6

Declaration [src]

char*
birb_pango_formatter_format (
  BirbPangoFormatter* formatter,
  const char* plain_text,
  PangoAttrList* attrs
)

Description [src]

Formats the given text with the given attributes.

Available since: 0.6

Parameters

plain_text

Type: const char*

The text to format.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
attrs

Type: PangoAttrList

The pango attr list.

The data is owned by the caller of the method.

Return value

Type: char*

The formatted text.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.