Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 def __init__(self, window):
     Page.__init__(self, window)
     self.createWidgets(window)
     self._init = False
Example #4
0
 def __init__(self, window):
     Page.__init__(self, window)
     self.game_id = None
     self.connectAsync('game_aborted', self.onAbort)