示例#1
0
文件: yellow.py 项目: pglen/pystick
 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
示例#2
0
文件: pystick.py 项目: pglen/pystick
 def show_new(self, area, me):
     se = sticked.StickEd(me, self.done_dlg)
示例#3
0
文件: pystick.py 项目: pglen/pystick
 def edit_stick(self, area, me):
     global xstr, stickdb
     dd = stickdb.get(xstr)
     se = sticked.StickEd(me, self.done_dlg, xstr, dd[1])