Пример #1
0
 def on_key(e):
     code = e.GetKeyCode()
     if code == wx.WXK_F11:
         toggle_prefs()
     elif code == wx.WXK_F12:
         toggle_crust()
     elif code == wx.WXK_F5:
         from gui import skin
         skin.reload()
     else:
         e.Skip()
Пример #2
0
def rr():
    from gui import skin; skin.reload()
Пример #3
0
def rr():
    from gui import skin
    skin.reload()