method tick ?set name value = let args = match set with None -> [ sv_of_string name; sv_of_string value ] | Some b -> [ sv_of_string name; sv_of_string value; sv_of_bool b ] in call_method_void sv "tick" args