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.repeat_check = gtk.CheckButton("Repeat")
        self.repeat_check.set_active(bool(int(self.mpdclient.status()["repeat"])))
        self.repeat_check.connect("toggled", lambda a: self.mpdclient.repeat(int(not bool(int(self.mpdclient.status()["repeat"])))))
        playback_modes.pack_start(self.repeat_check, fill=False, expand=False)
        self.random_check = gtk.CheckButton("Random")