Emulating TAB keypress in window



Hi all - 

I'm new to GTK+, so forgive me for asking blatant newbie questions.

Now, I'm just experimenting a bit with text entry widgets. I wrote
callback functions so that text in a textentry is selected when a user
focuses on it (and unselected whenever he leaves the entry widget).
Apparently, this is standard behaviour. So stupid me for trying to
invent hot water.

Anyway. The next step was moving from one widget to another. What can
I do in order to emulate TAB keypresses? Say I have 5 text entry
widgets, one below the other. Upon filling in one entry, and pressing
Enter (which is an activate event), I'd like the cursor to jump to the
next widget in line.

Thanks in advance, 

Mathieu



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