diff options
author | Kristian Rietveld <kristian@planet.nl> | 2001-10-03 21:50:58 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2001-10-03 21:50:58 +0000 |
commit | 3c09d348d307f4dc61de16ef8163856ebc34022f (patch) | |
tree | cd2fc72b41f2d4a57109436b6ed7c2717bb2ea95 /gtk/gtkeditable.h | |
parent | 77dc57e96019d5badb9292e03edead804bc6d8ec (diff) | |
download | gtk+-3c09d348d307f4dc61de16ef8163856ebc34022f.tar.gz |
move insert_text and delete_text virtual functions to do_insert_text and
Wed Oct 3 23:47:25 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkeditable.[ch]: move insert_text and delete_text virtual
functions to do_insert_text and do_delete_text, add signals
insert_text, delete_text and changed
* gtk/gtkentry.[ch]: remove signals insert_text, delete_text
and changed. Updates to match new situation.
* gtk/gtkspinbutton.c: updates to match new situation
* gtk/gtkoldeditable.h: remove signals changed, insert_text
and delete_text
* gtk/gtkoldeditable.c: updates to match new situation
* gtk/gtktext.c: updates to match new situation
Fixes bug #59803
Diffstat (limited to 'gtk/gtkeditable.h')
-rw-r--r-- | gtk/gtkeditable.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gtk/gtkeditable.h b/gtk/gtkeditable.h index 1411cf49c7..41615be943 100644 --- a/gtk/gtkeditable.h +++ b/gtk/gtkeditable.h @@ -50,7 +50,7 @@ struct _GtkEditableClass { GTypeInterface base_iface; - /* Signals for notification/filtering of changes */ + /* signals */ void (* insert_text) (GtkEditable *editable, const gchar *text, gint length, @@ -58,6 +58,17 @@ struct _GtkEditableClass void (* delete_text) (GtkEditable *editable, gint start_pos, gint end_pos); + void (* changed) (GtkEditable *editable); + + /* vtable */ + void (* do_insert_text) (GtkEditable *editable, + const gchar *text, + gint length, + gint *position); + void (* do_delete_text) (GtkEditable *editable, + gint start_pos, + gint end_pos); + gchar* (* get_chars) (GtkEditable *editable, gint start_pos, gint end_pos); |