]>
vault307.fbx.one Git - mu_code.git/blob - themeDemo.py
2 from tkinter
import ttk
7 s
.configure('Wild.TButton',
10 highlightthickness
='20',
11 font
=('Helvetica', 18, 'bold'))
13 foreground
=[('disabled','yellow'),
16 background
=[('disabled','magenta'),
17 ('pressed','!focus','cyan'),
19 highlightcolor
=[('focus','green'),
21 relief
=[('pressed','groove'),
22 ('!pressed','ridge')])
24 button
=ttk
.Button(text
='test', style
="Wild.TButton")
25 button
.pack(expand
=True)