Retrieving the original event string

graham.matthews@maths.anu.edu.au
27 Jan 1995 05:29:30 GMT

I have a binding like this,

self.tag_bind("some_name", "<ButtonRelease-2>", self.do_insert)

I then have my do_insert function as follows,

def do_insert(self, event):
...

Is there any way in do_insert of retrieving the string
"<ButtonRelease-2>"? Alternately is there any way of establishing
the binding such that this information is easy to access?

graham

--
                      Je suis pour le communisme
                      Je suis pour le socialisme
                      Je suis pour le capitalisme
                     Parce que je suis opportuniste