assemble.py 文件源码

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

项目:AssembleAudio 作者: The-White-Wolf 项目源码 文件源码
def edit_row(self, index, data_to_write):
        if len(data_to_write) != self.cols:
            print('--Edit Row:  Data mismatch error.')
            popup = Popup(title='Grid Error 01',
                    content=Label(text = 'There was a problem in updating the grid.'),
                    size_hint = (0.3, 0.3))
            popup.open()
        else:
            end = len(self.children) - (index * self.cols)
            start = end - self.cols
            #Update the selected file's info too.
            if self.children[start].text == self._sel_file:
                self._sel_file = data_to_write[-1]
            for i, widget in enumerate(reversed(self.children[start:end])):
                widget.text = data_to_write[i].strip()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号