<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _store_gui_setting(self, databox, name):
 """ Stores the gui setting in the header of the supplied databox. hkeys in the file are set to have the format "self.controlname" """

        try:    databox.insert_header(name, eval(name + ".get_value()"))
        except: print("ERROR: Could not store gui setting "+repr(name))