diff options
author | Owen Taylor <owt1@cornell.edu> | 1998-03-01 10:19:22 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-03-01 10:19:22 +0000 |
commit | f222bd77bbd78ea75e29b1663fc6624e929e6675 (patch) | |
tree | ae68dc595d0ff3dde86b37074d1d692797bdcfa1 /gtk/gtkeditable.h | |
parent | 2630943eb30fb7a94680e7afb6e1d070718c9811 (diff) | |
download | gtk+-f222bd77bbd78ea75e29b1663fc6624e929e6675.tar.gz |
gtk/gtkentry.c gtk/gtktext.c gtkeditable.[ch]
Sun Mar 1 05:18:11 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.c gtk/gtktext.c gtkeditable.[ch]
Changed interface to cut/copy/paste so it makes sense
when triggered by say, menu items.
Diffstat (limited to 'gtk/gtkeditable.h')
-rw-r--r-- | gtk/gtkeditable.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkeditable.h b/gtk/gtkeditable.h index 58b34f46f0..893f8edf84 100644 --- a/gtk/gtkeditable.h +++ b/gtk/gtkeditable.h @@ -36,7 +36,7 @@ extern "C" { typedef struct _GtkEditable GtkEditable; typedef struct _GtkEditableClass GtkEditableClass; -typedef void (*GtkTextFunction) (GtkEditable *editable, GdkEventKey *event); +typedef void (*GtkTextFunction) (GtkEditable *editable, guint32 time); struct _GtkEditable { @@ -90,12 +90,12 @@ void gtk_editable_delete_text (GtkEditable *editable, gchar * gtk_editable_get_chars (GtkEditable *editable, gint start_pos, gint end_pos); -void gtk_editable_cut_clipboard (GtkEditable *editable, - GdkEventKey *event); +void gtk_editable_cut_clipboard (GtkEditable *editable, + guint32 time); void gtk_editable_copy_clipboard (GtkEditable *editable, - GdkEventKey *event); + guint32 time); void gtk_editable_paste_clipboard (GtkEditable *editable, - GdkEventKey *event); + guint32 time); void gtk_editable_claim_selection (GtkEditable *editable, gboolean claim, guint32 time); |