(self)
Add path widjets to rows 10-12.
Add path widjets to rows 10-12.
Add path widjets to rows 10 - 12 .
def create_extra(self):
        "Add path widjets to rows 10-12."
        frame = self.frame
        pathlabel = Label(frame, anchor='w', justify='left',
                          text='Help File Path: Enter URL or browse for file')
        self.pathvar = StringVar(self, self.filepath)
        self.path = Entry(frame, textvariable=self.pathvar, width=40)
        browse = Button(frame, text='Browse', width=8,
                        command=self.browse_file)
        self.path_error = Label(frame, text=' ', foreground='red',
                                font=self.error_font)

        pathlabel.grid(column=0, row=10, columnspan=3, padx=5, pady=[10,0],
                       sticky=W)
        self.path.grid(column=0, row=11, columnspan=2, padx=5, sticky=W+E,
                       pady=[10,0])
        browse.grid(column=2, row=11, padx=5, sticky=W+S)
        self.path_error.grid(column=0, row=12, columnspan=3, padx=5,
                             sticky=W+E)
def create_extra ( self ) : frame = self . frame pathlabel = Label ( frame , anchor = 'w' , justify = 'left' , text = 'Help File Path: Enter URL or browse for file' ) self . pathvar = StringVar ( self , self . filepath ) self . path = Entry ( frame , textvariable = self . pathvar , width = 40 ) browse = Button ( frame , text = 'Browse' , width = 8 , command = self . browse_file ) self . path_error = Label ( frame , text = ' ' , foreground = 'red' , font = self . error_font ) pathlabel . grid ( column = 0 , row = 10 , columnspan = 3 , padx = 5 , pady = [ 10 , 0 ] , sticky = W ) self . path . grid ( column = 0 , row = 11 , columnspan = 2 , padx = 5 , sticky = W + E , pady = [ 10 , 0 ] ) browse . grid ( column = 2 , row = 11 , padx = 5 , sticky = W + S ) self . path_error . grid ( column = 0 , row = 12 , columnspan = 3 , padx = 5 , sticky = W + E )