rainmaker
rainmaker

Reputation: 43

Is there a Tkinter/ttk style reference?

With ttk one can produce code like the following:

style.configure('TButton', font='helvetica 24',foreground='red', padding=10)

Is there a list of the different options (e.g. font, foreground, padding) and the values (e.g. helvetica 24, red, 10) associated with each of them? I've been searching online and have yet to find such a reference.

Also, is there a css-like thing we can use to style a TKinter GUI? Or is ttk my best bet?

Upvotes: 4

Views: 3761

Answers (1)

furas
furas

Reputation: 142651

Most information you should find in Tk Reference Manual. See all widgets and themed widgets.

EDIT: maybe more usefull place: Tkinter 8.5 reference: a GUI for Python on anzeljg that now maintains the doc that used to be hosted on the New Mexico Tech University website

Upvotes: 2

Related Questions