3 #ifndef _GTKMM_EDITABLE_H
4 #define _GTKMM_EDITABLE_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
29 #include <glibmm/interface.h>
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 #ifndef DOXYGEN_SHOULD_SKIP_THIS
46 #ifndef DOXYGEN_SHOULD_SKIP_THIS
48 {
class Editable_Class; }
68 #ifndef DOXYGEN_SHOULD_SKIP_THIS
78 static CppClassType editable_class_;
91 #ifndef DOXYGEN_SHOULD_SKIP_THIS
98 explicit Editable(
const Glib::Interface_Class& interface_class);
118 #ifndef DOXYGEN_SHOULD_SKIP_THIS
119 static GType get_base_type() G_GNUC_CONST;
207 Glib::ustring
get_chars(
int start_pos,
int end_pos)
const;
Glib::RefPtr< Gtk::Editable > wrap(GtkEditable *object, bool take_copy=false)
Glib::SignalProxy0< void > signal_changed()
virtual int get_position_vfunc() const
const GtkEditable * gobj() const
Provides access to the underlying C GObject.
static void add_interface(GType gtype_implementer)
Glib::SignalProxy2< void, const Glib::ustring &, int * > signal_insert_text()
bool get_editable() const
void set_position(int position)
void insert_text(const Glib::ustring &text, int length, int &position)
void set_editable(bool is_editable=true)
virtual void on_delete_text(int start_pos, int end_pos)
This is a default handler for the signal signal_delete_text().
void delete_text(int start_pos, int end_pos)
virtual void on_changed()
This is a default handler for the signal signal_changed().
bool get_selection_bounds(int &start_pos, int &end_pos) const
virtual void insert_text_vfunc(const Glib::ustring &text, int &position)
virtual void set_position_vfunc(int position)
virtual Glib::ustring get_chars_vfunc(int start_pos, int end_pos) const
static GType get_type() G_GNUC_CONST
virtual void select_region_vfunc(int start_pos, int end_pos)
Glib::SignalProxy2< void, int, int > signal_delete_text()
void select_region(int start_pos, int end_pos)
virtual bool get_selection_bounds_vfunc(int &start_pos, int &end_pos) const
GtkEditable * gobj()
Provides access to the underlying C GObject.
virtual void delete_text_vfunc(int start_pos, int end_pos)
virtual void on_insert_text(const Glib::ustring &text, int *position)
This is a default handler for the signal signal_insert_text().
Glib::ustring get_chars(int start_pos, int end_pos) const
struct _GtkEditable GtkEditable
PBD::PropertyDescriptor< timecnt_t > length