def on_spy_mode_activate (widget): for gmwidg in gameDic.keys(): print "setting spymode for", gmwidg, "to", widget.get_active() gamenanny.setAnalyzerEnabled(gmwidg, SPY, widget.get_active())
def on_hint_mode_activate (widget): for gmwidg in gameDic.keys(): gamenanny.setAnalyzerEnabled(gmwidg, HINT, widget.get_active())