Constructor

GtkTextTagnew

Declaration [src]

GtkTextTag*
gtk_text_tag_new (
  const gchar* name
)

Description [src]

Creates a GtkTextTag. Configure the tag using object arguments, i.e. using g_object_set().

Parameters

name

Type: const gchar*

Tag name, or NULL.

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

Return value

Type: GtkTextTag

A new GtkTextTag.

The caller of the function takes ownership of the data, and is responsible for freeing it.