Switch widget: custom values with enum

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>