from Tkinter import*
okno=Tk()
okno.title('Pomoc please')
platno=Canvas()
platno.pack()
def volana_funkce(event):
print event.widget
oval1=platno.create_oval(10,20,30,40,fill='red',tags='klik')
oval2=platno.create_oval(50,70,80,90,fill='blue',tags='klik')
platno.tag_bind('klik','<1>',volana_funkce)
mainloop()
how to get a name of widget if click on them?e.g i klik on oval1 and function volana_funkce will return oval1..
thanks