diff options
author | Owen Taylor <owt1@cornell.edu> | 1998-03-01 08:47:36 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-03-01 08:47:36 +0000 |
commit | 2630943eb30fb7a94680e7afb6e1d070718c9811 (patch) | |
tree | 205200c8e9a8f1f4986ed3117c150f332fb51bef /gtk/gtkeditable.h | |
parent | 9205edae41b7fdcdda29e8a47739c56f34834f0f (diff) | |
download | gtk+-2630943eb30fb7a94680e7afb6e1d070718c9811.tar.gz |
gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch]
Sun Mar 1 03:20:39 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch]
Turned off debugging in gtktext.c
Bug fixes for cutting, pasting, deleting, etc.
Some of the bugs that were there before have definitely
been fixed.
* gtk/testgtk.c gtk/testgtkrc: Removed my ugly orange backgrounds,
to make things look nicer.
Diffstat (limited to 'gtk/gtkeditable.h')
-rw-r--r-- | gtk/gtkeditable.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gtk/gtkeditable.h b/gtk/gtkeditable.h index 2532063387..58b34f46f0 100644 --- a/gtk/gtkeditable.h +++ b/gtk/gtkeditable.h @@ -59,37 +59,37 @@ struct _GtkEditableClass void (* insert_text) (GtkEditable *editable, const gchar *text, - guint length, - guint *position); + gint length, + gint *position); void (* delete_text) (GtkEditable *editable, - guint start_pos, - guint end_pos); + gint start_pos, + gint end_pos); void (* update_text) (GtkEditable *editable, - guint start_pos, - guint end_pos); + gint start_pos, + gint end_pos); gchar* (* get_chars) (GtkEditable *editable, - guint start_pos, - guint end_pos); + gint start_pos, + gint end_pos); void (* set_selection)(GtkEditable *editable, - guint start_pos, - guint end_pos); + gint start_pos, + gint end_pos); void (* changed) (GtkEditable *editable); }; guint gtk_editable_get_type (void); void gtk_editable_select_region (GtkEditable *editable, - guint start, - guint end); + gint start, + gint end); void gtk_editable_insert_text (GtkEditable *editable, const gchar *new_text, - guint new_text_length, - guint *position); + gint new_text_length, + gint *position); void gtk_editable_delete_text (GtkEditable *editable, - guint start_pos, - guint end_pos); + gint start_pos, + gint end_pos); gchar * gtk_editable_get_chars (GtkEditable *editable, - guint start, - guint end); + gint start_pos, + gint end_pos); void gtk_editable_cut_clipboard (GtkEditable *editable, GdkEventKey *event); void gtk_editable_copy_clipboard (GtkEditable *editable, |