[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to set a button to be activated when i press the enter key



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 <stephenwalter_2k2 yahoo com> 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]