Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)
Hide the seat windows.

src/f/p/fpdb-chaz-HEAD/pyfpdb/Mucked.py   fpdb-chaz(Download)
    def update_gui(self, new_hand_id):
        """Prepare and show the mucked cards."""
        if self.displayed: self.hide()
#   See how many players showed a hand. Skip if only 1 shows (= hero)
        n_sd = self.count_seats_with_cards(self.hud.cards)
            return False
        else:
            self.hide()
            return False
 
        if event.button == 2:   # middle button event, hold display (do not timeout)
            if self.timer_on == True:  self.timer_on = False
            else: self.timer_on = False;  self.hide()
        elif event.button == 1 and i == "common":   # left button event (move)
            # firstly, cancel timer, otherwise block becomes locked if move event

src/f/p/fpdb-HEAD/pyfpdb/Mucked.py   fpdb(Download)
    def update_gui(self, new_hand_id):
        """Prepare and show the mucked cards."""
        if self.displayed: self.hide()
#   See how many players showed a hand. Skip if only 1 shows (= hero)
        n_sd = self.has_cards(self.hud.cards)
            return False
        else:
            self.hide()
            return False
 
        if event.button == 2:   # middle button event, hold display (do not timeout)
            if self.timer_on == True:  self.timer_on = False
            else: self.timer_on = False;  self.hide()
        elif event.button == 1 and i == "common":   # left button event (move)
            # firstly, cancel timer, otherwise block becomes locked if move event