What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-16 11:30:14
how to make custom buttons tkinter
from tkinter import * root = Tk() button = Button(root, text="Click me!") img = PhotoImage(file="C:/path to image/example.gif") # make sure to add "/" not "\" button.config(image=img) button.pack() # Displaying th... Add solution -
Python 2021-11-14 22:47:12
tkinter canas can you use other fonts
from tkinter import * from tkinter import font root = Tk() root.title('Font Families') fonts=list(font.families()) fonts.sort() def populate(frame): '''Put in the fonts''' listnumber = 1 for item in fonts: label = "listlabel&quo... Add solution -
Python 2021-11-14 15:48:32
tkinter labelframe
from Tkinter import * root = Tk() labelframe = LabelFrame(root, text="This is a LabelFrame") labelframe.pack(fill="both", expand="yes") left = Label(labelframe, text="Inside the LabelFrame") left.pack() root.m... Add solution
Best helpers
Ranking is empty