'Initialize Variables that save search state.
The dialogs bind these to the UI elements present in the dialogs.'

def __init__(self, root):

    self.root = root
    self.patvar = StringVar(root, '')
    self.revar = BooleanVar(root, False)
    self.casevar = BooleanVar(root, False)
    self.wordvar = BooleanVar(root, False)
    self.wrapvar = BooleanVar(root, True)
    self.backvar = BooleanVar(root, False)
