Method

GntTextViewappend_text_with_tag

Declaration [src]

void
gnt_text_view_append_text_with_tag (
  GntTextView* view,
  const char* text,
  GntTextFormatFlags flags,
  const char* tag
)

Description [src]

Append text in the textview, with some identifier (tag) for the added text.

Parameters

text

Type: const char*

The text to append.

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

Type: GntTextFormatFlags

The text-flags to apply to the new text.

tag

Type: const char*

The tag for the appended text, so it can be changed later (see gnt_text_view_tag_change())

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