Re: Entrys focus



On Sat, 2005-12-31 at 10:28 -0300, Juan Pablo wrote:
> Hellow list! Im new here and obviusly because I have some questions ;-)
> 
> I made a window with several GtkEntry on it and would like that when the 
> user press ENTER the next entry get focused, the same behaviour as 
> pressing the TAB key but with ENTER.
> Whats the correct way of doing this?

Have a look at gtk_container_set_focus_chain ().  If for example, you
have a GtkHBox with 3 GtkEntry widgets in it, the GtkHBox is the
container you would use to get or set the focus chain.

-- 
Regards,
Martyn




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