menu_functions.py 文件源码

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

项目:GRIPy 作者: giruenf 项目源码 文件源码
def on_edit_rocktable(event):
    OM = ObjectManager(event.GetEventObject())
    if not OM.list('rocktable'):
        try:
            wx.MessageBox('Please create a new Rock Table first!')
        except Exception as e:
            print 'ERROR:', e
        finally:
            return

    dlg = RockTableEditor.Dialog(wx.App.Get().GetTopWindow())
    dlg.ShowModal()
    dlg.Destroy()

    _UIM = UIManager()
    tree_ctrl = _UIM.list('tree_controller')[0]
    tree_ctrl.refresh()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号