Function

Gntutil_parse_xhtml_to_textview

since: 2.2

Declaration [src]

gboolean
gnt_util_parse_xhtml_to_textview (
  const char* string,
  GntTextView* tv
)

Description [src]

Parse an XHTML string and add it in a GntTextView with appropriate text flags.

Available since: 2.2

Parameters

string

Type: const char*

The XHTML string.

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

Type: GntTextView

The GntTextView.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the string was added to the textview properly, FALSE otherwise.