[widgets] Allow quickly setting a value for a widget.