Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
 
PREVIOUS NEXT
Tagged: #change #font #tkinter
ADD COMMENT
Topic
Name
8+8 =