Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to customise the border color of tkinter/ttk widgets and frames?

Is there any way to customize the border color of a Tkinter/ttk widgets or frames?

like image 873
Malcolm Avatar asked Oct 14 '22 21:10

Malcolm


1 Answers

Yes, you can create your own style and apply it to the widget or configure the attributes of an existing style.

Some documentation and examples are in the official docs, specifically the section about ttk.Style.

Additional information on using styles (for several languages) can be found at tkdocs.com.

like image 164
Bryan Oakley Avatar answered Oct 18 '22 04:10

Bryan Oakley