|  |  | 

A Collection of Gtk::TextBuffer::Tags that can be used together.
A tag table defines a set of Gtk::TextBuffer::Tags that can be used together. Each buffer has one tag table associated with it; only tags from that tag table can be used with the buffer. A single tag table can be shared between multiple buffers, however.
| Public Types | |
| typedef sigc::slot< void, const Glib::RefPtr<TextTag >&> | SlotForEach | 
| Public Member Functions | |
| virtual | ~TextTagTable () | 
| GtkTextTagTable* | gobj () | 
| Provides access to the underlying C GObject. | |
| const GtkTextTagTable* | gobj () const | 
| Provides access to the underlying C GObject. | |
| GtkTextTagTable* | gobj_copy () | 
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| void | add (const Glib::RefPtr<TextTag>& tag) | 
| Add a tag to the table. | |
| void | remove (const Glib::RefPtr<TextTag>& tag) | 
| Remove a tag from the table. | |
| Glib::RefPtr<TextTag> | lookup (const Glib::ustring& name) | 
| Look up a named tag. | |
| Glib::RefPtr<const TextTag> | lookup (const Glib::ustring& name) const | 
| Look up a named tag. | |
| void | foreach (const SlotForEach& slot) | 
| int | get_size () const | 
| Returns the size of the table (number of tags). | |
| Glib::SignalProxy2< void, const Glib::RefPtr<TextTag>&, bool > | signal_tag_changed () | 
| Glib::SignalProxy1< void, const Glib::RefPtr<TextTag >&> | signal_tag_added () | 
| Glib::SignalProxy1< void, const Glib::RefPtr<TextTag >&> | signal_tag_removed () | 
| Static Public Member Functions | |
| Glib::RefPtr<TextTagTable> | create () | 
| Protected Member Functions | |
| TextTagTable () | |
| virtual void | on_tag_changed (const Glib::RefPtr<TextTag>& tag, bool size_changed) | 
| virtual void | on_tag_added (const Glib::RefPtr<TextTag>& tag) | 
| virtual void | on_tag_removed (const Glib::RefPtr<TextTag>& tag) | 
| Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Gtk::TextTagTable> | wrap (GtkTextTagTable* object, bool take_copy=false) | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| Add a tag to the table. The tag is assigned the highest priority in the table. tag must not be in a tag table already, and may not have the same name as an already-added tag. 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| Returns the size of the table (number of tags). 
 
 | 
| 
 | 
| Provides access to the underlying C GObject. 
 Reimplemented from Glib::ObjectBase. 
 | 
| 
 | 
| Provides access to the underlying C GObject. 
 Reimplemented from Glib::ObjectBase. 
 | 
| 
 | 
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 
 | 
| 
 | 
| Look up a named tag. 
 
 
 | 
| 
 | 
| Look up a named tag. 
 
 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 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. 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 
 
 |