Mercurial > gui
view select.ur @ 31:b5432d74841a
Update for key/mouse handler change
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 21 Jul 2012 10:15:14 -0400 |
parents | 4d8165e8f89a |
children |
line wrap: on
line source
fun crender r = <xml><cselect source={r.Selected}> {List.mapX (fn r' => <xml><coption value={r'.Key}>{[r'.Display]}</coption></xml>) r.Choices} </cselect></xml> fun crender' r = <xml><cselect source={r.Selected}> {List.mapX (fn s => <xml><coption>{[s]}</coption></xml>) r.Choices} </cselect></xml>