Re: Avoid automatic navigation between GtkEntry widgets with arrows



Listen to key press events of GtkEntry and for Up/Down events shift the focus to implemented widget.
Don't propagate Up/Down key press events to GtkEntry.

cheers,
Sanny

Felipe Monteiro de Carvalho wrote:
Hello,

I have a number of GtkEntry widgets in my form, and if I press the up
and down key it navigates between them, according to the Tab order.
But, I would like to supress this, only allowing Tab to change the
focus to other widgets, because I want to implement a completion
feature, and I don't want to use GtkEntryCompletetion, but rather my
own mechanism.

Any ideas how to achieve that?

thanks,


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