Function

Talkatumarkup_get_html

Declaration [src]

gchar*
talkatu_markup_get_html (
  GtkTextBuffer* buffer,
  gsize* len
)

Description [src]

Extracts all text from buffer as an HTML string.

Parameters

buffer

Type: GtkTextBuffer

The GtkTextBuffer instance.

The data is owned by the caller of the function.
len

Type: gsize*

A return address for the length of text extracted.

The data is owned by the caller of the function.

Return value

Type: gchar*

The extracted HTML string.

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