Ejemplo n.º 1
0
    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)
Ejemplo n.º 2
0
    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)
Ejemplo n.º 3
0
    def __init__(self, app):

        PMGSkin.__init__(self, app)
        self.app = app
        self.pymol = app.pymol
        self.cmd = app.pymol.cmd
Ejemplo n.º 4
0
 def takedown(self):
     self.destroyMenuBar()
     PMGSkin.takedown(self)
Ejemplo n.º 5
0
    def __init__(self,app):

        PMGSkin.__init__(self,app)
        self.app = app
        self.pymol = app.pymol
        self.cmd = app.pymol.cmd
Ejemplo n.º 6
0
 def takedown(self):
     self.destroyMenuBar()
     PMGSkin.takedown(self)