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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/i/n/indimpc-HEAD/indimpc.py   indimpc(Download)
        self.consume_check = gtk.CheckButton("Consume")
        self.consume_check.set_active(bool(int(self.mpdclient.status()["consume"])))
        self.consume_check.connect("toggled", lambda a: self.mpdclient.consume(int(not bool(int(self.mpdclient.status()["consume"])))))
        playback_modes.pack_start(self.consume_check, fill=False, expand=False)
        self.single_check = gtk.CheckButton("Single")