Basically, what I\'ve done is bound a click event to a function. For example:
self.button1.bind(\"\",self.chooseDice)
What
just add a self.result attribute to your class and set it at chooseDice()
self.result
chooseDice()