Answers for "how to add image in button in tkinter"

1

button images in tkinter

img = PhotoImage(file='not_not.jpg')

main_button = Button(root, image=img, command=open_level_menu, fg="white", bg="black",)
Posted by: Guest on September-12-2021

Code answers related to "how to add image in button in tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language