method reset = match lang with None -> () | Some lang -> read_lang_style lang; self#update_params_widgets