Skip to content
Discussion options

You must be logged in to vote

@Sonic3Modder
You need to use CTkImage. Try the following:

...

my_image = Image.open("images/play-fill.png")
my_icon = customtkinter.CTkImage(my_image, size=(16, 16))

GameStartButton = customtkinter.CTkButton(root, text="Start Game", image=my_icon)

...

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Sonic3Modder
Comment options

Answer selected by Sonic3Modder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants