(self, event=None)
return
Add a find entry box
Add a find entry box
Add a find entry box
def createSearchBar(self, event=None):
        """Add a find entry box"""

        frame = Frame(self.tablesapp_win)
        row=0
        def close():
            frame.destroy()
        self.findtext=StringVar()
        self.findbox=Entry(frame,textvariable=self.findtext,width=30,bg='white')
        self.findbox.grid(row=row,column=1,sticky='news',columnspan=2,padx=2,pady=2)
        self.findbox.bind('<Return>',self.do_find_text)
        Label(frame,text='Find:').grid(row=row,column=0,sticky='ew')
        self.findagainbutton=Button(frame,text='Find Again', command=self.do_find_again)
        self.findagainbutton.grid(row=row,column=3,sticky='news',padx=2,pady=2)
        self.cbutton=Button(frame,text='Close', command=close)
        self.cbutton.grid(row=row,column=4,sticky='news',padx=2,pady=2)
        frame.pack(fill=BOTH, expand=NO)
        return
def createSearchBar ( self , event = None ) : frame = Frame ( self . tablesapp_win ) row = 0 def close ( ) : frame . destroy ( ) self . findtext = StringVar ( ) self . findbox = Entry ( frame , textvariable = self . findtext , width = 30 , bg = 'white' ) self . findbox . grid ( row = row , column = 1 , sticky = 'news' , columnspan = 2 , padx = 2 , pady = 2 ) self . findbox . bind ( '<Return>' , self . do_find_text ) Label ( frame , text = 'Find:' ) . grid ( row = row , column = 0 , sticky = 'ew' ) self . findagainbutton = Button ( frame , text = 'Find Again' , command = self . do_find_again ) self . findagainbutton . grid ( row = row , column = 3 , sticky = 'news' , padx = 2 , pady = 2 ) self . cbutton = Button ( frame , text = 'Close' , command = close ) self . cbutton . grid ( row = row , column = 4 , sticky = 'news' , padx = 2 , pady = 2 ) frame . pack ( fill = BOTH , expand = NO ) return