method set_filter v =
    call_method_void sv "filter" [sv_of_bool v]