PEATDB/PEATApp.py
def showBlankCanvas(self, frame, row):
        """Create a blank canvas for introduction"""
        width=900
        height=750
        cv=Canvas(frame,
                       width=self.canvas_x_size-self.canvas_border_x,
                       height=self.canvas_y-self.canvas_border_y,
                       scrollregion=(0,0,self.canvas_x_size,self.canvas_y),
                       bd=0, relief=GROOVE, bg='#9999CC',
                       highlightthickness=0)
        cv.grid(row=row,column=0,columnspan=10,rowspan=1,
                    sticky='news',
                    pady=3,ipady=2)
        #frame.add(cv)
        cv.configure(width=width-50)
        cv.configure(height=height-300)
        return cv
Create a blank canvas for introduction
Create a blank canvas for introduction
Create a blank canvas for introduction
def showBlankCanvas(self, frame, row):
        width=900
        height=750
        cv=Canvas(frame,
                       width=self.canvas_x_size-self.canvas_border_x,
                       height=self.canvas_y-self.canvas_border_y,
                       scrollregion=(0,0,self.canvas_x_size,self.canvas_y),
                       bd=0, relief=GROOVE, bg='#9999CC',
                       highlightthickness=0)
        cv.grid(row=row,column=0,columnspan=10,rowspan=1,
                    sticky='news',
                    pady=3,ipady=2)
        cv.configure(width=width-50)
        cv.configure(height=height-300)
        return cv
def showBlankCanvas ( self , frame , row ) : width = 900 height = 750 cv = Canvas ( frame , width = self . canvas_x_size - self . canvas_border_x , height = self . canvas_y - self . canvas_border_y , scrollregion = ( 0 , 0 , self . canvas_x_size , self . canvas_y ) , bd = 0 , relief = GROOVE , bg = '#9999CC' , highlightthickness = 0 ) cv . grid ( row = row , column = 0 , columnspan = 10 , rowspan = 1 , sticky = 'news' , pady = 3 , ipady = 2 ) cv . configure ( width = width - 50 ) cv . configure ( height = height - 300 ) return cv
Create a blank canvas for introduction
Create a blank canvas for introduction
"""Create a blank canvas for introduction""" #frame.add(cv)
self
frame
row