def __init__(self, window): Page.__init__(self, window) self.game_id = None self.game_type = None self.autostart = False self.createWidgets(window) self.connectAsync('game_joined', self.onGameJoined) self.connectAsync('game_leaved', self.onGameLeaved) self.connectAsync('game_started', self.onGameStarted)
def __init__(self, window): Page.__init__(self, window) self.display_all = True self.watch_all = False self.createWidgets(window) self.connectAsync('game_created', self.onGameCreated) self.connectAsync('game_started', self.onGameStarted) self.connectAsync('game_joined', self.onGameJoined) self.connectAsync('game_leaved', self.onGameLeaved) self.connectAsync('game_aborted', self.onGameAborted) self.connectAsync('game_destroyed', self.onGameDestroyed)
def __init__(self, window): Page.__init__(self, window) self.createWidgets(window) self._init = False
def __init__(self, window): Page.__init__(self, window) self.game_id = None self.connectAsync('game_aborted', self.onAbort)