PartitionEditor.py 文件源码

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

项目:GRIPy 作者: giruenf 项目源码 文件源码
def DeleteCols(self, pos=0, numCols=1):
        if pos >= self.N_COLS:
            i = pos - self.N_COLS
            for j in range(numCols)[::-1]:
                self._OM.remove(self.propmap.pop(i + j))

            self.GetView().BeginBatch()
            msg = wx.grid.GridTableMessage(self, wx.grid.GRIDTABLE_NOTIFY_COLS_DELETED, pos, numCols)
            self.GetView().ProcessTableMessage(msg)
            self.GetView().EndBatch()

            return True
        else:
            return False
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号