[wx-dev] GTK: Tab navigation (EVT_CHAR_HOOK)

ATS asteinarson at gmail.com
Sat Mar 29 13:25:05 PDT 2008


Hello, 

On implementing EVT_CHAR_HOOK (to give controls a first go at key 
presses even inside dialogs), I noted that TAB navigation for certain
controls (wxComboBox) is not working. You cannot tab out of a combo 
to the next control. 

Looking at this, I start to think that this is unrelated to my changes 
on EVT_CHAR_HOOK. 

Does someone have an idea how tabbing in wxGTK should work in this case? 

(Looking at code in window.cpp it seems that the text control [inside 
combo] has GTK level keyboard focus, it is a child of a container. And that 
container does not realize that it should tab to it sibling item.)

Regards
// ATS.



More information about the wx-dev mailing list