(self, root)
Initialize Variables that save search state.

        The dialogs bind these to the UI elements present in the dialogs.
Initialize Variables that save search state.
Initialize Variables that save search state .
def __init__(self, root):
        '''Initialize Variables that save search state.

        The dialogs bind these to the UI elements present in the dialogs.
        '''
        self.root = root  # need for report_error()
        self.patvar = StringVar(root, '')   # search pattern
        self.revar = BooleanVar(root, False)   # regular expression?
        self.casevar = BooleanVar(root, False)   # match case?
        self.wordvar = BooleanVar(root, False)   # match whole word?
        self.wrapvar = BooleanVar(root, True)   # wrap around buffer?
        self.backvar = BooleanVar(root, False)
def __init__ ( self , root ) : self . root = root # need for report_error() self . patvar = StringVar ( root , '' ) # search pattern self . revar = BooleanVar ( root , False ) # regular expression? self . casevar = BooleanVar ( root , False ) # match case? self . wordvar = BooleanVar ( root , False ) # match whole word? self . wrapvar = BooleanVar ( root , True ) # wrap around buffer? self . backvar = BooleanVar ( root , False )