self.evtbox.connect('button-release-event', self.button_release)
self.evtbox.connect('motion-notify-event', self.motion_notify)
self.evtbox.connect('button-release-event', self.button_release)
self.evtbox.connect('motion-notify-event', self.motion_notify)
self.model = gtk.ListStore(int, str)
self.treeview = self.wid('treeview')
self.treeview.set_model(self.model)
self.model = gtk.ListStore(int, str)
self.treeview = self.wid('treeview')
self.treeview.set_model(self.model)
def setup_treeview(self):
self.model.connect('rows-reordered', self.on_rows_reordered)
def setup_treeview(self):
self.model.connect('rows-reordered', self.on_rows_reordered)
ctx.arc(ball.x, ball.y, ball.radius+1, 0, 64*math.pi)
ctx.stroke()
ctx.arc(ball.x, ball.y, ball.radius+1, 0, 64*math.pi)
ctx.stroke()