method
set_on_text_changed f = on_text_changed <- f