def load(self, data: dict):
for i, label in enumerate(self.keys):<EOL><INDENT>key = label.cget('<STR_LIT:text>')<EOL>if key in data.keys():<EOL><INDENT>entry_was_enabled = True ifself.values[i].cget('<STR_LIT:state>') == '<STR_LIT>' else False<EOL>if not entry_was_enabled:<EOL><INDENT>self.values[i].config(state='<STR_LIT>')<EOL><DEDENT>self.values[i].delete(<NUM_LIT:0>, tk.END)<EOL>self.values[i].insert(<NUM_LIT:0>, str(data[key]))<EOL>if not entry_was_enabled:<EOL><INDENT>self.values[i].config(state='<STR_LIT>')<EOL><DEDENT><DEDENT><DEDENT>
Load values into the key/values via dict.

:param data: dict containing the key/values that should be inserted
:return: None