Answers for "how to change all tkinter text font"

2

how to change font in tkinter

import tkinter.font as font

#create Font object
myFont = font.Font(family='Helvetica')

button = Button(parent, font=myFont)
#or
button = Button(parent)
button['font'] = myFont
Posted by: Guest on August-30-2020
1

font in tkinter

import tkinter.font as TkFont

font = tkFont.Font ( option, ... )
# Exaple
helv36 = tkFont.Font(family="Helvetica",size=36,weight="bold")
Posted by: Guest on November-02-2020

Code answers related to "how to change all tkinter text font"

Python Answers by Framework

Browse Popular Code Answers by Language