aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.h
diff options
context:
space:
mode:
authorJon Trowbridge <trow@gnu.org>2001-03-06 17:47:08 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-03-06 17:47:08 +0800
commit10d0e730eccccf34fc53dc8c1d6145fca1f52f57 (patch)
tree231d378aa6256253d73d078251d5c8096b824a54 /widgets/text/e-text.h
parent1bdc6e147f19384e42679512130cfc5f4d93364b (diff)
downloadgsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.gz
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.bz2
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.lz
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.xz
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.zst
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.zip
Added. This is part of a change of sematics that makes things much nicer
2001-03-06 Jon Trowbridge <trow@gnu.org> * gal/e-text/e-entry.c (e_entry_text_keypress): Added. This is part of a change of sematics that makes things much nicer for the user --- auto-activate the completion popup only on keypresses than also change the entry. (e_entry_proxy_changed): Record that the underlying EText has changed, and set up a timeout to clear the changed_since_keypress flag in a very short amount of time. (e_entry_init): Connect to the EText's "keypress" signal". (e_entry_destroy): If our completion_delay_tag timeout is still floating around out there when we are winding things down, remove it. * gal/e-text/e-text.c (e_text_class_init): Added keypress signal. (e_text_text_model_reposition): Removed some old cruft. (e_text_event): Emit our keypress signal after handling events of type GDK_KEY_PRESS. svn path=/trunk/; revision=8566
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r--widgets/text/e-text.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h
index b42ea06663..eae84af102 100644
--- a/widgets/text/e-text.h
+++ b/widgets/text/e-text.h
@@ -217,9 +217,10 @@ struct _EText {
struct _ETextClass {
GnomeCanvasItemClass parent_class;
- void (* changed) (EText *text);
- void (* activate) (EText *text);
- void (* popup) (EText *text, GdkEventButton *ev, gint pos);
+ void (* changed) (EText *text);
+ void (* activate) (EText *text);
+ void (* keypress) (EText *text, guint keyval, guint state);
+ void (* popup) (EText *text, GdkEventButton *ev, gint pos);
};