RE: How-to change focus on the GtkEntry ?



Hello nerds ! I am have simple question...


Have'd two GtkEntry :

1 )   Name   ___________ (GtkEntry1) _______________
2 )   Adress ___________ (GtkEntry2) _______________

How I change the focus in one or another after Enter key ?
Have who the answer ? Please save me...

I would just grab keypress events from the entries.  When you get a
carriage return, set focus to the next widget and return FALSE.

I would use the "activate" signal on each entry widget.  That is what it is
there for.

Regards,
Martyn



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