text_item ->selection: anySet the text_item<-selection.
If the given value is not equal to the
text_item<-selection,
convert it to text_item<-type
using type<-check.
If the value is still not equal to the text_item<-selection,
obtain a printable representation using object<-print_name
with the value as argument. Finally assign
text_item<-selection
with the (converted) value and object<-print_name
with the textual representation and update the display.
See also text_item<-selection
and text_item->default.