Function

Gntutil_parse_xhtml_to_textview

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.0

Parameters

string 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 GntTextView
 

The GntTextView.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

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