tab key event capturing



Hi All,

I have created a virtual keyboard application which resembles the physical
keyboard. I m trying this application with multiple applications.
Successfully all events i can handle except Tab event.
In Tab event it taking all the containers as a widget and moves forward.
Below are two APIS which i m using to get the widget and to focus the
widgets

Widget = gtk_window_get_focus ( GTK_WINDOW (data));  ( Where data is the
main window passed in the handler )

Which gives the focus widget in the window.

gtk_widget_child_focus ( GTK_WIDGET (data), GTK_DIR_TAB_FORWARD );

which focuses the next widget .

But here i m failing. when i hit Tab intead of going focus on next widget of
a container it goes to some other widget. This behaviour i m unable to
understand.
I am trying to look how Tab ( On physical Keyboard ) is working but didn't
get any success.

Can anybody tell me what i am doing wrong and how can i resolve this issue

Thanks



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