if you are using glade to build your gui add an accelerator (enter) with a
signal (clicked) to the OK button.

On 31/12/05, Suresh Stephen <[EMAIL PROTECTED]> wrote:
>
> Hello,
>           Just wanted to know one thing , for example consider i have a
> text entry and two buttons ok and cancel . Wat i want to perform is after
> adding some data to the entry i just want to press enter so that the ok
> button is pressed, if any one knows a way to solve this i will be very
> thankful for that.
>
> Regards,
> S.Suresh Stephen
>
>
>
> There aint no success without failure , nor victory without Sacrifice
>
> A HERO never chooses his DESTINY , instead it is DESTINY which chooses HIM
> .
>
>
> ---------------------------------
> Yahoo! Photos
> Ring in the New Year with Photo Calendars. Add photos, events, holidays,
> whatever.
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>



--
-- Yiannis
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to