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 GtkTextBuffer
 

The GtkTextBuffer instance.

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

A return address for the length of text extracted.

 The data is owned by the caller of the function.

Return value

Returns: 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.