Name
GtkTextTagTable -- Collection of tags that can be used together
Object Hierarchy
GObject
+----GtkTextTagTable |
Description
You may wish to begin by reading the text widget
conceptual overview which gives an overview of all the objects and data
types related to the text widget and how they work together.
Details
GtkTextTagTableForeach ()
void (*GtkTextTagTableForeach) (GtkTextTag *tag,
gpointer data); |
gtk_text_tag_table_new ()
Creates a new GtkTextTagTable. The table contains no tags by
default.
gtk_text_tag_table_add ()
Add a tag to the table. The tag is assigned the highest priority
in the table.
gtk_text_tag_table_remove ()
Remove a tag from the table. This will remove the table's
reference to the tag, so be careful - the tag will end
up destroyed if you don't have a reference to it.
gtk_text_tag_table_lookup ()
Look up a named tag.
gtk_text_tag_table_foreach ()
Calls func on each tag in table, with user data data.
gtk_text_tag_table_size ()
Returns the size of the table (number of tags)
Signals
The "tag-added" signal
void user_function (GtkTextTagTable *texttagtable,
GObject *arg1,
gpointer user_data); |
The "tag-changed" signal
void user_function (GtkTextTagTable *texttagtable,
GObject *arg1,
gboolean arg2,
gpointer user_data); |
The "tag-removed" signal
void user_function (GtkTextTagTable *texttagtable,
GObject *arg1,
gpointer user_data); |