Example #1
0
 def ok_pressed(self):
     idx = self.currLine * self.numOfCol +  self.dispX
     if idx < self.numOfItems:
         print "[SparkWall:selector:ok_pressed] selected " + str(self.currList[idx][0])
         if self.zap == True:
             printDBG("[SparkWall] preview host")
             service = eServiceReference(self.currList[idx][0])
             self.sServiceList.setCurrentSelection(service) #wybieramy serwis na liscie
             self.sServiceList.zap(enable_pipzap = True) # i przelaczamy 
             #self.VideoSize()
             self.zap = False
         else:
             self.close(self.currList[idx])
     else:
         self.close(None)
     return