def area_button(self, area, event): #print "yellow butt" if event.type == Gdk.EventType.BUTTON_PRESS: self.ex = event.x; self.ey = event.y elif event.type == Gdk._2BUTTON_PRESS: se = sticked.StickEd(self.par.window, self.par.me.mainwin.done_dlg, self.head, self.text) return False
def show_new(self, area, me): se = sticked.StickEd(me, self.done_dlg)
def edit_stick(self, area, me): global xstr, stickdb dd = stickdb.get(xstr) se = sticked.StickEd(me, self.done_dlg, xstr, dd[1])