squaremap.py 文件源码

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

项目:squaremap3 作者: kawaiicthulhu 项目源码 文件源码
def SetHighlight( self, node, point=None, propagate=True ):
        """Set the currently-highlighted node"""
        if node == self.highlightedNode:
            return
        self.highlightedNode = node
        # TODO: restrict refresh to the squares for previous node and new node...
        self.UpdateDrawing()
        if node and propagate:
            wx.PostEvent( self, SquareHighlightEvent( node=node, point=point, map=self ) )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号