def OnOpenPyCrust(self, event):
        if self._pycrust is None:
            self._pycrust = wx.py.crust.Crust(self,
                                                locals=self._pycrust_locals,
                                                intro=_pycrust_intro)

            self._mgr.AddPane(self._pycrust, aui.AuiPaneInfo().
                                                    Caption("PyCrust").
                                                    Center().
                                                    Float().
                                                    FloatingSize((1000, 800)))
        self._mgr.Update()
dataset/ETHPy150Open manahl/mdf/mdf/viewer/frame.py/MDFViewerFrame.OnOpenPyCrust/original