I am using wxPython3.0.0. I made a AWG AuiNotebook. There are two tabs … one in the top half of the screen and the other in the bottom half. Each tab has a text control in it.
When I click on one of the text controls it does not auto-select the corresponding tab. If I click within a tab I would expect the tab to become “selected” showing it as the active tab.
Is this by design or a bug? Is there an easy way to enable this behavior?
Thanks!
I have seen in AuiNotebook that a tab is not selected if you hit it towards the right end of the tab, but otherwise it does select for me.
Werner
···
On 5/21/2014 22:20, Christopher Cantrell wrote:
I am using wxPython3.0.0. I made a AWG AuiNotebook. There are two tabs ... one in the top half of the screen and the other in the bottom half. Each tab has a text control in it.
When I click on one of the text controls it does not auto-select the corresponding tab. If I click within a tab I would expect the tab to become "selected" showing it as the active tab.
This has been observed for some time now by others. I believe it is a focus/child focus problem overall.
I have integrated some workarounds in SourceCoder to try and fix this with the aui nb split tabs feature, but overall have yet to come up with a “proper” fix.
… so ATM it can be viewed as a bug/irritation. Hopefully Andrea or someone else will figure this one out.
until then, the best you can do is try to come up with a proper fix like the rest of us, then test it out, and if works properly overall without hacks, then submit a patch.
···
On Wednesday, May 21, 2014 2:20:43 PM UTC-6, Christopher Cantrell wrote:
I am using wxPython3.0.0. I made a AWG AuiNotebook. There are two tabs … one in the top half of the screen and the other in the bottom half. Each tab has a text control in it.
When I click on one of the text controls it does not auto-select the corresponding tab. If I click within a tab I would expect the tab to become “selected” showing it as the active tab.
Is this by design or a bug? Is there an easy way to enable this behavior?
Thanks!