On 3/30/2016 11:01 AM, Mark Lawrence via Python-list wrote:
> On 30/03/2016 15:45, ast wrote:
>>
Components depend on the theme. In some themes, Radiobutton does have a
border. On Windows 10, I ran
>>> for s in style.theme_names():
style.theme_use(s)
style.theme_use()
style.layout('TRadiobutton')
Theme names are ('winnative', 'clam', 'alt', 'default', 'classic',
'vista', 'xpnative') with 'vista'the default. Outputs were the same as above
'vista'
[('Radiobutton.padding', {'sticky': 'nswe', 'children':
[('Radiobutton.indicator', {'sticky': '', 'side': 'left'}),
('Radiobutton.focus', {'sticky': '', 'children':
[('Radiobutton.label', {'sticky': 'nswe'})], 'side': 'left'})]})]
except for this
'classic'
[('Radiobutton.highlight', {'sticky': 'nswe', 'children':
[('Radiobutton.border', {'sticky': 'nswe', 'children':
[('Radiobutton.padding', {'sticky': 'nswe', 'children':
[('Radiobutton.indicator', {'sticky': '', 'side': 'left'}),
('Radiobutton.label', {'sticky': 'nswe', 'side': 'left'})]})]})]})]
.theme_names() only displays the themes for the OS. I believe that
there is a way to access themes for other OSes (unix, mac) but don't
remember.
--
Terry Jan Reedy