devenv.py 文件源码

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

项目:visualStudioAddon 作者: mohammad-suliman 项目源码 文件源码
def script_onSizeChange(self, gesture):
        gesture.send()
        #get the position from the status bar
        obj = api.getForegroundObject().lastChild
        text = obj.children[2].name
        width = re.match(REG_SPLIT_LOCATION_TEXT, text).group(3)
        hight = re.match(REG_SPLIT_LOCATION_TEXT, text).group(4)
        #translators: the width and the hight of a UI element in windows forms designer
        msg = _("width: %s  hight: %s" %(width, hight))
        ui.message(msg)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号