Changing the shape of tkinter widgets
I hit the same problem. My solution was to use an image, then bind that to a click. Here is the code I used:
from Tkinter import *
from PIL import ImageTk, Image
app = Tk()
def do(event):
print("Button Clicked!")
#...
img = ImageTk.PhotoImage(Image.open("Button.gif"))
button = Label(app, image = img)
button.pack()
button.bind('<Button-1>', do)
app.mainloop()
The <Button-1>
binds the image to a right click. The "Button.gif"
is the picture I used.
Here is the output picture: