Re: gtkentry and key-press-event
| From: | Andrei Zmievski | Date: | Tue, 07 Aug 2001 21:47:42 +0000 |
| Subject: | Re: gtkentry and key-press-event | ||
| References: | 1 2 3 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2589@lists.php.net to get a copy of this message | ||
On Tue, 07 Aug 2001, Lorrie Cooke wrote:
> >
> >
> >
> >Why do you want \n added to contents of GtkEntry?
> >
> I dont, I want to be able to run a function if the enter key was pressed
> in a GtkEntry, this is so I dont need to add a button to the window in
> order to run the function,
>
> hope this makes sense :)
>
> Thanks :)
Have you tried attaching to "activate" signal?
-Andrei
What's hard, in hacking as in fiction,
is not the writing, it's deciding what to write.
-- Neal Stephenson