__init__.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:mmplayer 作者: Bakterija 项目源码 文件源码
def stop_spinning(self, *args):
        '''Stop spinning the progress spinner. Ignores all positional args
        for easy binding.

        If you intend to keep the spinner around, you should stop it when
        not using it and restart it when needed again.
        '''
        if self._spinning:
            if self._next:
                if isinstance(self._next, Animation):
                    self._next.cancel(self)
                else:
                    self._next.cancel()
            Clock.unschedule(self._update)
            Clock.unschedule(self._rotate)
            self._angle_start = self._angle_end = 0
            self._spinning = False
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号