![]() |
![]() |
![]() |
GtkSourceView Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Signals |
#include <gtksourceview/gtksourcetagtable.h> struct GtkSourceTagTable; GtkSourceTagTable * gtk_source_tag_table_new (void
); void gtk_source_tag_table_add_tags (GtkSourceTagTable *table
,const GSList *tags
); void gtk_source_tag_table_remove_source_tags (GtkSourceTagTable *table
);
GtkSourceTagTable * gtk_source_tag_table_new (void
);
Creates a new GtkSourceTagTable. The table contains no tags by default.
Returns : |
a new GtkSourceTagTable |
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.
|
a GtkSourceTagTable. |
|
a GSList containing GtkTextTag objects. |
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.
|
a GtkSourceTagTable. |
"changed"
signalvoid user_function (GtkSourceTagTable *sourcetagtable,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |