O'Reilly logo

Tkinter GUI Application Development Blueprints - Second Edition by Bhaskar Chaudhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

More on fonts

Many Tkinter widgets let you specify custom font specifications either at the time of widget creation or later by using the configure() option. For most cases, default fonts provide a standard look and feel. However, if you want to change font specifications, Tkinter lets you do so. There is one caveat, though.

When you specify your own font, you need to make sure that it looks good on all the platforms where your program is intended to be deployed because a font might look good on a particular platform, but it may look awful on another platform. Unless you know what you are doing, it is always advisable to stick to Tkinter's default fonts.

Most platforms have their own set of standard fonts that are used by the platform's native ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required