[widget] Introduce #value.
[widget] Use #value for conversions.
[widget] Use #to_s as an alternative to #text.