GtkSourceTag

GtkSourceTag — A tag that can be applied to text in a GtkSourceBuffer

Functions

GtkTextTag * gtk_source_tag_new ()

Types and Values

Includes

#include <gtksourceview/gtksource.h>

Description

GtkSourceTag is a subclass of GtkTextTag that adds properties useful for the GtkSourceView library.

Functions

gtk_source_tag_new ()

GtkTextTag *
gtk_source_tag_new (const gchar *name);

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

For usual cases, gtk_source_buffer_create_source_tag() is more convenient to use.

Parameters

name

tag name, or NULL.

[nullable]

Returns

a new GtkSourceTag.

Types and Values

GtkSourceTag

typedef struct _GtkSourceTag GtkSourceTag;

See Also

GtkSourceBuffer