Method

GntTextViewtag_change

Declaration [src]

int
gnt_text_view_tag_change (
  GntTextView* view,
  const char* name,
  const char* text,
  gboolean all
)

Description [src]

Change the text of a tag.

Parameters

name

Type: const char*

The name of the tag.

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

Type: const char*

The new text for the text. If ‘text’ is NULL, the tag is removed.

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

Type: gboolean

TRUE if all of the instancess of the tag should be changed, FALSE if only the first instance should be changed.

Return value

Type: int

The number of instances changed.