Exemplo n.º 1
0
 def add():
     keychooser.unit_to_bind = unit
     gui.change_to_card_fast(gui.Card(keychooser.widgets()))
Exemplo n.º 2
0
 def kill_key():
     env.key_bindings[key].remove(unit)
     gui.change_to_card_fast(gui.Card(pause_screen_widgets()))