|
Public Types |
typedef sigc::slot< void,
const Glib::RefPtr<TextTag >&> | SlotForEach |
Public Member Functions |
void | add (const Glib::RefPtr<TextTag>& tag) |
| Add a tag to the table.
|
void | foreach (const SlotForEach& slot) |
int | get_size () const |
| Returns the size of the table (number of tags).
|
const GtkTextTagTable* | gobj () const |
| Provides access to the underlying C GObject.
|
GtkTextTagTable* | gobj () |
| 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.
|
Glib::RefPtr<const TextTag> | lookup (const Glib::ustring& name) const |
| Look up a named tag.
|
Glib::RefPtr<TextTag> | lookup (const Glib::ustring& name) |
| Look up a named tag.
|
void | remove (const Glib::RefPtr<TextTag>& tag) |
| Remove a tag from the table.
|
Glib::SignalProxy1< void,
const Glib::RefPtr<TextTag >&> | signal_tag_added () |
Glib::SignalProxy2< void,
const Glib::RefPtr<TextTag>&,
bool > | signal_tag_changed () |
Glib::SignalProxy1< void,
const Glib::RefPtr<TextTag >&> | signal_tag_removed () |
virtual | ~TextTagTable () |
Static Public Member Functions |
static Glib::RefPtr<TextTagTable> | create () |
Protected Member Functions |
virtual void | on_tag_added (const Glib::RefPtr<TextTag>& tag) |
virtual void | on_tag_changed (const Glib::RefPtr<TextTag>& tag, bool size_changed) |
virtual void | on_tag_removed (const Glib::RefPtr<TextTag>& tag) |
| TextTagTable () |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr<Gtk::TextTagTable> | wrap (GtkTextTagTable* object, bool take_copy=false) |