Re: [PHP-GTK] gtkentry and key-press-event

[email protected] (Andrei Zmievski) Tue, 7 Aug 2001 16:03:17 -0500
Newsgroups php.gtk
Message-ID <[email protected]>
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