Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tkinter root configuration

Tags:

python

tkinter

For adding a title to the TKinter root, we do something like:

root = Tk()
root.title("<Title Text>")
root.configure(bg = "<color>")

My question is how do we change the font size and font color of the Title Text. Seemed to me to be a simple requirement, but other than changing the background color of root, I don't seem to be able to do anything more.

Many Thanks

like image 672
altamont Avatar asked Jan 25 '26 18:01

altamont


1 Answers

You can't change the title font or size via tkinter. Tkinter has no control over how the window manager / os decorates the program.

like image 199
Bryan Oakley Avatar answered Jan 28 '26 08:01

Bryan Oakley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!