def on_pause_downloads(self, widget): messages.PauseAllDownloads().send_to_backend()
def _on_pause_all(self, widget): self.item_list.set_resort_on_update(False) messages.PauseAllDownloads().send_to_backend()