comparison browser_side/radiocol.py @ 275:a763b2ac5d41

bridge + browser_side: bridge signals for games and their callbacks: - added radiocolPlayers and tarotGamePlayers to get the list of players - added roomLeft to remove the muc from the host's room list - display symbols to identify the players in a muc - factorization of ChatPanel.startGame
author souliane <souliane@mailoo.org>
date Thu, 21 Nov 2013 16:13:14 +0100
parents 63e9b680d3e7
children 0eba1c4f9c6f
comparison
equal deleted inserted replaced
274:886b47896f3c 275:a763b2ac5d41
172 """) 172 """)
173 173
174 174
175 class RadioColPanel(HorizontalPanel, ClickHandler): 175 class RadioColPanel(HorizontalPanel, ClickHandler):
176 176
177 def __init__(self, parent, referee, player_nick): 177 def __init__(self, parent, referee, player_nick, players=None):
178 HorizontalPanel.__init__(self) 178 HorizontalPanel.__init__(self)
179 ClickHandler.__init__(self) 179 ClickHandler.__init__(self)
180 self._parent = parent 180 self._parent = parent
181 self.referee = referee 181 self.referee = referee
182 self.setStyleName("radiocolPanel") 182 self.setStyleName("radiocolPanel")