PEATDB/PEATApp.py
def createChildFrame(self, width=400, title=''):
        """Create a child frame in sidepane or as toplevel"""
        if self.showDialogsinSidePane == True:
            self.resetSidePane(width=width)
            #cframe = Frame(master=self.sidepane)
            #cframe.pack(fill=BOTH,expand=1)
            cframe = self.sidepane
        else:
            cframe = Toplevel()
            cframe.geometry('+100+450')
            cframe.title(title)
        return cframe
Create a child frame in sidepane or as toplevel
Create a child frame in sidepane or as toplevel
Create a child frame in sidepane or as toplevel
def createChildFrame(self, width=400, title=''):
        if self.showDialogsinSidePane == True:
            self.resetSidePane(width=width)
            cframe = self.sidepane
        else:
            cframe = Toplevel()
            cframe.geometry('+100+450')
            cframe.title(title)
        return cframe
def createChildFrame ( self , width = 400 , title = '' ) : if self . showDialogsinSidePane == True : self . resetSidePane ( width = width ) cframe = self . sidepane else : cframe = Toplevel ( ) cframe . geometry ( '+100+450' ) cframe . title ( title ) return cframe
Create a child frame in sidepane or as toplevel
Create a child frame in sidepane or as toplevel
"""Create a child frame in sidepane or as toplevel""" #cframe = Frame(master=self.sidepane) #cframe.pack(fill=BOTH,expand=1)
self
width
title