Пример #1
0
 def add():
     keychooser.unit_to_bind = unit
     gui.change_to_card_fast(gui.Card(keychooser.widgets()))
Пример #2
0
 def kill_key():
     env.key_bindings[key].remove(unit)
     gui.change_to_card_fast(gui.Card(pause_screen_widgets()))