3 #ifndef _GTKMM_TEXTTAGTABLE_H
4 #define _GTKMM_TEXTTAGTABLE_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
41 #ifndef DOXYGEN_SHOULD_SKIP_THIS
43 {
class TextTagTable_Class; }
63 #ifndef DOXYGEN_SHOULD_SKIP_THIS
72 static CppClassType texttagtable_class_;
80 explicit TextTagTable(
const Glib::ConstructParams& construct_params);
92 #ifndef DOXYGEN_SHOULD_SKIP_THIS
95 static GType get_base_type() G_GNUC_CONST;
115 static Glib::RefPtr<TextTagTable>
create();
126 void add(
const Glib::RefPtr<TextTag>& tag);
134 void remove(
const Glib::RefPtr<TextTag>& tag);
148 Glib::RefPtr<const TextTag>
lookup(
const Glib::ustring&
name)
const;
150 typedef sigc::slot<void, const Glib::RefPtr<TextTag>&>
SlotForEach;
198 virtual void on_tag_changed(
const Glib::RefPtr<TextTag>& tag,
bool size_changed);
GtkTextTagTable * gobj()
Provides access to the underlying C GObject.
void add(const Glib::RefPtr< TextTag > &tag)
Glib::RefPtr< const TextTag > lookup(const Glib::ustring &name) const
GtkTextTagTable * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
sigc::slot< void, const Glib::RefPtr< TextTag > & > SlotForEach
Glib::RefPtr< TextTag > lookup(const Glib::ustring &name)
const GtkTextTagTable * gobj() const
Provides access to the underlying C GObject.
static Glib::RefPtr< TextTagTable > create()
void remove(const Glib::RefPtr< TextTag > &tag)
Glib::SignalProxy1< void, const Glib::RefPtr< TextTag > & > signal_tag_added()
static GType get_type() G_GNUC_CONST
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().
Glib::SignalProxy2< void, const Glib::RefPtr< TextTag > &, bool > signal_tag_changed()
Glib::SignalProxy1< void, const Glib::RefPtr< TextTag > & > signal_tag_removed()
Glib::RefPtr< Gtk::TextTagTable > wrap(GtkTextTagTable *object, bool take_copy=false)
GtkImageIconNameData name