Package: gtk

Class gtk:text-tag-table

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

None

Details

The gtk:text-tag-table object collects the tags in a gtk:text-buffer object. Each text buffer has one tag table associated with it. Only tags from that tag table can be used with the text buffer. A single tag table can be shared between multiple text buffers, however.

GtkTextTagTable as GtkBuildable

The gtk:text-tag-table implementation of the gtk:buildable interface supports adding tags by specifying "tag" as the type attribute of a <child> element.

Example: A UI definition fragment specifying tags.
<object class="GtkTextTagTable">
 <child type="tag">
   <object class="GtkTextTag"/>
 </child>
</object>    

Signal Details

The "tag-added" signal
lambda (table tag)    :run-last      
table
The gtk:text-tag-table object which received the signal.
tag
The added gtk:text-tag object.
Emitted every time a new tag is added in the tag table.
The "tag-changed" signal
lambda (table tag changed)    :run-last      
table
The gtk:text-tag-table object which received the signal.
tag
The changed gtk:text-tag object.
changed
The boolean whether the size has been changed.
Emitted every time a tag in the tag table changes.
The "tag-removed" signal
lambda (table tag)    :run-last      
table
The gtk:text-tag-table object which received the signal.
tag
The removed gtk:text-tag object.
Emitted every time a tag is removed from the tag table. The tag is still valid by the time the signal is emitted, but it is not associated with a tag table any more.
 

Returned by

Inherited Slot Access Functions

See also

2026-07-04