GtkSourceTagTable

GtkSourceTagTable

Functions

Signals

void changed Run Last

Types and Values

Object Hierarchy

    GObject
    ╰── GtkTextTagTable
        ╰── GtkSourceTagTable

Implemented Interfaces

GtkSourceTagTable implements GtkBuildable.

Includes

#include <gtksourceview/gtksourcetagtable.h>

Description

Functions

gtk_source_tag_table_new ()

GtkSourceTagTable *
gtk_source_tag_table_new (void);

Creates a new GtkSourceTagTable. The table contains no tags by default.

Returns

a new GtkSourceTagTable


gtk_source_tag_table_add_tags ()

void
gtk_source_tag_table_add_tags (GtkSourceTagTable *table,
                               const GSList *tags);

Adds a list of tag to the table. The added tags are assigned the highest priority in the table.

If a tag is already present in table or has the same name as an already-added tag, then it is not added to the table.

Parameters

table

a GtkSourceTagTable.

 

tags

a GSList containing GtkTextTag objects.

 

gtk_source_tag_table_remove_source_tags ()

void
gtk_source_tag_table_remove_source_tags
                               (GtkSourceTagTable *table);

Removes all the source tags from the table. This will remove the table's reference to the tags, so be careful - tags will end up destroyed if you don't have a reference to them.

Parameters

table

a GtkSourceTagTable.

 

Types and Values

struct GtkSourceTagTable

struct GtkSourceTagTable;

Signal Details

The “changed” signal

void
user_function (GtkSourceTagTable *sourcetagtable,
               gpointer           user_data)

Parameters

sourcetagtable

the object which received the signal.

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last