t4_write_custom_widget