Re: How to detect user hitting "ENTER" key with GtkEditable

From: Date: Fri, 21 Mar 2003 20:37:16 +0000
Subject: Re: How to detect user hitting "ENTER" key with GtkEditable
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3140@lists.php.net to get a copy of this message
I answered my own question :-) After more searching, i found out that the "activate" signal is triggered when Enter key is pressed. I hooked it up and it works great. -- Scott Hurring <scotth at eac dot com> Systems Programmer EAC Corporation --- "Scott Hurring" <scottspam@eac.com> wrote in message news:20030321201033.38966.qmail@pb1.pair.com... > 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 > --- > >

« previous php.gtk.general (#3140) next »