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

ATS asteinarson at gmail.com
Sun Mar 30 07:11:26 PDT 2008


> > For a GTK container prepared by 'native' GTK, we mess up things by 
> > changing this flag. GTK knows what it does when it does _not_ set 
> > the flag.
> 
> I agree completely, which is why I already removed this two weeks ago 
> on the trunk (that's why I specifically asked you if the bug was 
> introduced by that change or not). So are you using current trunk or 
> not? And if not, can you please re-test with the latest and greatest 
> trunk sources?

Yes, my last full sync with trunc was some three weeks ago. Refreshing 
the affected files from SVN I get a better result:

- The tab chain now works.
- But the focused item doesn't get the focus on opening the dialog.
I must press Tab once and then the focused item receives focus. 

Maybe the call:

  gtk_widget_child_focus(widget, GTK_DIR_TAB_FORWARD)

doesn't work the first time for a combo when the dialog is opened. 

It's a minor bug. I'll try to step through the code to see what 
happens.

Regards
// ATS:


> 
> thanks,
> Vaclav
> 






More information about the wx-dev mailing list