def setup(self): # call the parent method PMGSkin.setup(self) # name the application self.root.title("Demonstration PyMOL Skin") # create the user interface self.createInterface() # pack the root window self.app._hull.pack(side=TOP, anchor=CENTER, expand=NO, fill=NONE, padx=0, pady=0, ipadx=0, ipady=0)
def __init__(self, app): PMGSkin.__init__(self, app) self.app = app self.pymol = app.pymol self.cmd = app.pymol.cmd
def takedown(self): self.destroyMenuBar() PMGSkin.takedown(self)
def __init__(self,app): PMGSkin.__init__(self,app) self.app = app self.pymol = app.pymol self.cmd = app.pymol.cmd