gtkentry and key-press-event

[email protected] (Lorrie Cooke) Tue, 07 Aug 2001 15:56:12 -0500
Newsgroups php.gtk
Message-ID <[email protected]>
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...

So, is there a signal i can use that just tracks the enter key or what 
should i be using to test if its the enter key or not... I thought it be 
\n but apparantly its not..

Thanks :)

Loll