示例#1
0
 def deactivate(self):
     keys.unbind('u1')
     keys.unbind('u2')
     keys.bind('u', ':ThreesomeUse<cr>')
     return super(GridMode, self).deactivate()
示例#2
0
 def deactivate(self):
     keys.unbind('u1')
     keys.unbind('u2')
     keys.bind('u', ':SpliceUse<cr>')
     return super(GridMode, self).deactivate()
示例#3
0
 def activate(self):
     keys.unbind('u')
     keys.bind('u1', ':ThreesomeUse1<cr>')
     keys.bind('u2', ':ThreesomeUse2<cr>')
     return super(GridMode, self).activate()
示例#4
0
 def activate(self):
     keys.unbind('u')
     keys.bind('u1', ':SpliceUse1<cr>')
     keys.bind('u2', ':SpliceUse2<cr>')
     return super(GridMode, self).activate()