Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/q/u/quicktill-HEAD/quicktill/managekeyboard.py   quicktill(Download)
from __future__ import unicode_literals
from . import keyboard,ui,td,user
from .models import KeyCap
 
class popup(user.permission_checked,ui.dismisspopup):
    def setcap(self):
        if self.keycode is None: return
        if self.kcfield.f=="": return
        newcap=KeyCap(keycode=self.keycode.name,
                      keycap=self.kcfield.f)