11.118Class GtkTextTagTable

Collection of tags that can be used together

Class GtkTextTagTable

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.

Methods
addAdd a tag to the table. The tag is assigned the highest priority in the table.
get_sizeReturns the size of the table (number of tags)
lookupLook up a named tag.
removeRemove a tag from the table.
signal_tag_addedConnect a VMSlot to the table tag-added signal and return it
signal_tag_changedConnect a VMSlot to the table tag-changed signal and return it
signal_tag_removedConnect a VMSlot to the table tag-removed signal and return it

Methods

add

Add a tag to the table. The tag is assigned the highest priority in the table.

GtkTextTagTable.add( tag )
tag a GtkTextTag

tag must not be in a tag table already, and may not have the same name as an already-added tag.

get_size

Returns the size of the table (number of tags)

GtkTextTagTable.get_size()
Returnnumber of tags in table

lookup

Look up a named tag.

GtkTextTagTable.lookup( name )
name name of a tag
ReturnThe tag, or nil if none by that name is in the table

remove

Remove a tag from the table.

GtkTextTagTable.remove( tag )
tag a GtkTextTag

signal_tag_added

Connect a VMSlot to the table tag-added signal and return it

GtkTextTagTable.signal_tag_added()

signal_tag_changed

Connect a VMSlot to the table tag-changed signal and return it

GtkTextTagTable.signal_tag_changed()

signal_tag_removed

Connect a VMSlot to the table tag-removed signal and return it

GtkTextTagTable.signal_tag_removed()
Made with http://www.falconpl.org