How to detect user hitting "ENTER" key with GtkEditable
| From: | Scott Hurring | Date: | Fri, 21 Mar 2003 20:10:32 +0000 |
| Subject: | How to detect user hitting "ENTER" key with GtkEditable | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3139@lists.php.net to get a copy of this message | ||
I know this is probably a horribly simple question, but i've skimmed
over 2 different Gtk manuals (including gtk.php.net) and i can't quite
figure out how to detect a press of the Enter key within a GtkEditable
(GtkEntry to be exact).
The signals 'insert-text' and 'changed' don't do what i want, and i
can't
seem to find any other signals in GtkEditable that look like they'd be
fired on an Enter key press.
Could someone kindly point me towards the correct widget and
correct signal so that i my app can detect an Enter key press?
Thanks,
--
Scott Hurring <scotth at eac dot com>
Systems Programmer
EAC Corporation
---