コード例 #1
0
 def getTooltip(self):
     primeTimes = self._event.getPrimeTimes().getPrimeTimes()
     currentPeripheryID = self._connectionMgr.peripheryID
     showTooltip = len(primeTimes) > 1
     return makePrimeTimesTooltipVO(
         primeTimes, currentPeripheryID,
         self._lobbyContext.getPeripheryName) if showTooltip else None
コード例 #2
0
 def __getPrimeTimesTooltip(self):
     primeTimes = self._event.getPrimeTimes().getPrimeTimes()
     currentPeripheryID = self._connectionMgr.peripheryID
     return makePrimeTimesTooltipVO(primeTimes, currentPeripheryID,
                                    self._lobbyContext.getPeripheryName)