def __init__(self, name, host='127.0.0.1', port=27017):
        self.name = name
        self.host = host
        self.port = port
def select_all(self, event=None):
        self.selection_range(0, END)
        return "break"