def __init__(self,parent):
Gtk.DrawingArea.__init__(self)
self.connect("draw",self.on_draw)
self.set_events(Gdk.EventMask.BUTTON_PRESS_MASK)
self.coords = []
self.connect("button-press-event", self.on_button_press)
评论列表
文章目录