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

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

src/a/n/Anomos-HEAD/anondownloadgui.py   Anomos(Download)
import gettext
 
from Anomos.TorrentQueue import RUNNING, QUEUED, KNOWN, ASKING_LOCATION
from Anomos.controlsocket import ControlSocket
from Anomos.defaultargs import get_defaults
    def move_to_end(self, widget):
        self.main.change_torrent_state(self.infohash, QUEUED)
 
class DroppableTorrentBox(TorrentBox):
 
    def move_to_end(self, widget):
        self.main.change_torrent_state(self.infohash, QUEUED)
 
    def finish(self, widget):
        self.main.change_torrent_state(self.infohash, KNOWN)
    def move_to_end(self, widget):
        self.main.change_torrent_state(self.infohash, QUEUED)
 
    def finish(self, widget):
        self.main.change_torrent_state(self.infohash, KNOWN)
    def put_infohash_at_index(self, infohash, target_index):
        self.main.change_torrent_state(infohash, QUEUED, target_index)
 
    def highlight_at_top(self):
        self.parent.highlight_between()