Python - tkinter:
# Import the tcl file
root.tk.call('source', 'Surface-blue.tcl')
# Set the theme with the theme_use method
ttk.Style().theme_use('surface-blue')
Tcl/tk:
# Import the tcl file
source "Surface-blue.tcl"
# Set theme using the theme use method
ttk::style theme use surface-blue
EXTRA ELEMENT:
- Switch:
switch = ttk.Checkbutton(root, text='Switch', style='Switch', variable=var)
Credits:
- me (for the whole theme)
- rdbende (for the Azure-ttk-Theme on which this is theme is based on.)
- Microsoft (for Windows and Metro UI.)
- Advanced Installer (for the idea which made me make this theme.)