| gtkmm
    3.5.13
    | 
Typedefed as Gtk::TextBuffer::TagTable. More...

| Public Types | |
| typedef sigc::slot< void, const Glib::RefPtr< TextTag >& > | SlotForEach | 
|  Public Types inherited from Glib::Object | |
| typedef void(* | DestroyNotify )(gpointer data) | 
| 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 () | 
|  Public Member Functions inherited from Glib::Object | |
| void * | get_data (const QueryQuark &key) | 
| void | set_data (const Quark &key, void *data) | 
| void | set_data (const Quark &key, void *data, DestroyNotify notify) | 
| void | remove_data (const QueryQuark &quark) | 
| void * | steal_data (const QueryQuark &quark) | 
| void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) | 
| void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const | 
| void | set_property (const Glib::ustring &property_name, const PropertyType &value) | 
| void | get_property (const Glib::ustring &property_name, PropertyType &value) const | 
| void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) | 
| sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) | 
| void | freeze_notify () | 
| void | thaw_notify () | 
| virtual void | reference () const | 
| virtual void | unreference () const | 
| GObject * | gobj_copy () const | 
| Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) | 
| Static Public Member Functions | |
| static GType | get_type () | 
| Get the GType for this class, for use with the underlying GObject type system. | |
| static Glib::RefPtr< TextTagTable > | create () | 
| Protected Member Functions | |
| TextTagTable () | |
| virtual void | on_tag_changed (const Glib::RefPtr< TextTag >& tag, bool size_changed) | 
| This is a default handler for the signal signal_tag_changed(). | |
| virtual void | on_tag_added (const Glib::RefPtr< TextTag >& tag) | 
| This is a default handler for the signal signal_tag_added(). | |
| virtual void | on_tag_removed (const Glib::RefPtr< TextTag >& tag) | 
| This is a default handler for the signal signal_tag_removed(). | |
|  Protected Member Functions inherited from Glib::Object | |
| Object () | |
| Object (const Glib::ConstructParams &construct_params) | |
| Object (GObject *castitem) | |
| virtual | ~Object () | 
| ObjectBase () | |
| ObjectBase (const char *custom_type_name) | |
| ObjectBase (const std::type_info &custom_type_info) | |
| virtual | ~ObjectBase ()=0 | 
| void | initialize (GObject *castitem) | 
| Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr< Gtk::TextTagTable > | wrap (GtkTextTagTable* object, bool take_copy=false) | 
| A Glib::wrap() method for this object. | |
Typedefed as Gtk::TextBuffer::TagTable.
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.
| typedef sigc::slot<void, const Glib::RefPtr<TextTag>&> Gtk::TextTagTable::SlotForEach | 
| 
 | virtual | 
| 
 | protected | 
| void Gtk::TextTagTable::add | ( | const Glib::RefPtr< TextTag >& | tag | ) | 
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.
| tag | A Gtk::TextTag. | 
| 
 | static | 
| void Gtk::TextTagTable::foreach | ( | const SlotForEach& | slot | ) | 
| int Gtk::TextTagTable::get_size | ( | ) | const | 
Returns the size of the table (number of tags)
| 
 | static | 
Get the GType for this class, for use with the underlying GObject type system.
| 
 | inline | 
Provides access to the underlying C GObject.
Reimplemented from Glib::Object.
| 
 | inline | 
Provides access to the underlying C GObject.
Reimplemented from Glib::Object.
| GtkTextTagTable* Gtk::TextTagTable::gobj_copy | ( | ) | 
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| Glib::RefPtr<TextTag> Gtk::TextTagTable::lookup | ( | const Glib::ustring & | name | ) | 
Look up a named tag.
| name | Name of a tag. | 
0 if none by that name is in the table. | Glib::RefPtr<const TextTag> Gtk::TextTagTable::lookup | ( | const Glib::ustring & | name | ) | const | 
Look up a named tag.
| name | Name of a tag. | 
0 if none by that name is in the table. | 
 | protectedvirtual | 
This is a default handler for the signal signal_tag_added().
| 
 | protectedvirtual | 
This is a default handler for the signal signal_tag_changed().
| 
 | protectedvirtual | 
This is a default handler for the signal signal_tag_removed().
| void Gtk::TextTagTable::remove | ( | const Glib::RefPtr< TextTag >& | 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.
| tag | A Gtk::TextTag. | 
| Glib::SignalProxy1< void,const Glib::RefPtr<TextTag>& > Gtk::TextTagTable::signal_tag_added | ( | ) | 
void on_my_tag_added(const Glib::RefPtr<TextTag>& tag)| tag | The added tag. | 
| Glib::SignalProxy2< void,const Glib::RefPtr<TextTag>&,bool > Gtk::TextTagTable::signal_tag_changed | ( | ) | 
void on_my_tag_changed(const Glib::RefPtr<TextTag>& tag, bool size_changed)| tag | The changed tag. | 
| size_changed | Whether the size has been changed. | 
| Glib::SignalProxy1< void,const Glib::RefPtr<TextTag>& > Gtk::TextTagTable::signal_tag_removed | ( | ) | 
void on_my_tag_removed(const Glib::RefPtr<TextTag>& tag)| tag | The removed tag. | 
| 
 | related | 
A Glib::wrap() method for this object.
| object | The C instance. | 
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. | 
 1.8.1.1
 1.8.1.1