GtkTextTag Constructor

GtkTextTag ([string name = null ]);

Creates a GtkTextTag instance with the name name. If name is not given, the tag will be anonymous. This is useful for creating tags on the fly.

Named tags can be retrieved from a GtkTextTagTable by passing name to lookup() .

After the tag is created, it cannot be applied to a buffer until it has been added to the buffer's GtkTextTagTable.