I put in a partially transparent PNG image in Tkinter and all I get is what is in the attached image.
How do I make the dark triangle on the right clear? (like it's supposed to be)
This is python 2.6 on Windows 7, btw.
I put in a partially transparent PNG image in Tkinter and all I get is what is in the attached image.
How do I make the dark triangle on the right clear? (like it's supposed to be)
This is python 2.6 on Windows 7, btw.
You have to use PIL and Tkinter together. See this blog on the PIL transparency:
http://nadiana.com/pil-tutorial-how-create-button-generator
gif files maybe? (i know they suck, but it could work)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.