Mercurial > gui
view examples/datebox.ur @ 23:7c734edc6301
Merge from Adam.
author | Karn Kallio <kkallio@eka> |
---|---|
date | Sat, 24 Sep 2011 18:55:27 -0430 |
parents | 554e342665fe |
children |
line wrap: on
line source
fun main () = tm <- now; dayCtl <- Datebox.create tm; load <- return (Datebox.onChange dayCtl (fn d => alert (show d.Day))); return <xml> <head><title>Datebox Example</title></head> <body onload={load}> {Gui.toXml dayCtl} </body> </xml>