def xres_handler(name, value): frame.set_attributes("xres", value=int_text(value))
def model_select_handler(name, value): frame.set_attributes("model_select", value=int_text(value))