method set_parent (parent : html_element) =
    call_method_void sv "parent" [parent#sv]