(self)
Create basic 3 row x 3 col search (find) dialog.

        Other dialogs override subsidiary create_x methods as needed.
        Replace and Find-in-Files add another entry row.
Create basic 3 row x 3 col search (find) dialog.
Create basic 3 row x 3 col search ( find ) dialog .
def create_widgets(self):
        '''Create basic 3 row x 3 col search (find) dialog.

        Other dialogs override subsidiary create_x methods as needed.
        Replace and Find-in-Files add another entry row.
        '''
        top = Toplevel(self.root)
        top.bind("<Return>", self.default_command)
        top.bind("<Escape>", self.close)
        top.protocol("WM_DELETE_WINDOW", self.close)
        top.wm_title(self.title)
        top.wm_iconname(self.icon)
        _setup_dialog(top)
        self.top = top
        self.frame = Frame(top, padding="5px")
        self.frame.grid(sticky="nwes")
        top.grid_columnconfigure(0, weight=100)
        top.grid_rowconfigure(0, weight=100)

        self.row = 0
        self.frame.grid_columnconfigure(0, pad=2, weight=0)
        self.frame.grid_columnconfigure(1, pad=2, minsize=100, weight=100)

        self.create_entries()  # row 0 (and maybe 1), cols 0, 1
        self.create_option_buttons()  # next row, cols 0, 1
        self.create_other_buttons()  # next row, cols 0, 1
        self.create_command_buttons()
def create_widgets ( self ) : top = Toplevel ( self . root ) top . bind ( "<Return>" , self . default_command ) top . bind ( "<Escape>" , self . close ) top . protocol ( "WM_DELETE_WINDOW" , self . close ) top . wm_title ( self . title ) top . wm_iconname ( self . icon ) _setup_dialog ( top ) self . top = top self . frame = Frame ( top , padding = "5px" ) self . frame . grid ( sticky = "nwes" ) top . grid_columnconfigure ( 0 , weight = 100 ) top . grid_rowconfigure ( 0 , weight = 100 ) self . row = 0 self . frame . grid_columnconfigure ( 0 , pad = 2 , weight = 0 ) self . frame . grid_columnconfigure ( 1 , pad = 2 , minsize = 100 , weight = 100 ) self . create_entries ( ) # row 0 (and maybe 1), cols 0, 1 self . create_option_buttons ( ) # next row, cols 0, 1 self . create_other_buttons ( ) # next row, cols 0, 1 self . create_command_buttons ( )