SamplePanel.py 文件源码

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

项目:irida-miseq-uploader 作者: phac-nml 项目源码 文件源码
def _upload_terminated(self, label, colour, tooltip):
        """Stop the timer and hide self when the upload is has terminated."""

        self._timer.Stop()
        self.Freeze()
        status_label = wx.StaticText(self, label=label)
        status_label.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD))
        status_label.SetForegroundColour(colour)
        status_label.SetToolTipString(tooltip)
        self._sizer.Add(status_label, flag=wx.EXPAND | wx.RIGHT, border=5)
        if self._progress is not None:
            self._progress.Destroy()
        self.Layout()
        self.Thaw()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号