Get the selected tab in a enthought traits application

petmertens at gmail.com petmertens at gmail.com
Fri Sep 13 13:35:51 EDT 2013


Hi,

I have a traits application with a tabbed group:

Group(
Group(label="a", dock='tab'),
Group(label="b", dock='tab'),
layout='tabbed')

Beneath the tabbed group, there is button which should perform some action depending on the selected tab.
So I would like to know which of both tabs, 'a' or 'b', is selected (i.e. active).

Any ideas?

Thanks



More information about the Python-list mailing list