Re: gtkentry and key-press-event

From: Date: Tue, 07 Aug 2001 21:03:17 +0000
Subject: Re: gtkentry and key-press-event
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2584@lists.php.net to get a copy of this message
On Tue, 07 Aug 2001, Lorrie Cooke wrote: > Hi, > > Im trying to make a GtkEntry to run a function after the enter key is > pressed... > > im using : $entrybox->connect_after('key-press-event', presskey,$entrybox); > > to check if the enter key was pressed... however it doesnt seem to add a > \n(or a \r) to the GtkEntry if its pressed... Why do you want \n added to contents of GtkEntry? -Andrei Documentation is worth it just to be able to answer all your mail with 'RTFM'. -- Alan Cox

« previous php.gtk (#2584) next »