Function

Talkatumarkdown_insert

Declaration [src]

void
talkatu_markdown_insert (
  TalkatuBuffer* buffer,
  GtkTextIter* iter,
  const gchar* text,
  gint len
)

Description [src]

Inserts and renders text into buffer.

Parameters

buffer

Type: TalkatuBuffer

The instance.

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

Type: GtkTextIter

The GtkTextIter where the text should be inserted.

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

Type: const gchar*

The UTF-8 Markdown text that should be inserted.

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

Type: gint

The length of text or -1.