SCM Repository
View of /sml/trunk/src/eXene/contrib/test-trace-menu.sml
Parent Directory
|
Revision Log
Revision 2 -
(download)
(annotate)
Sat Oct 4 23:33:09 1997 UTC (23 years, 3 months ago) by monnier
File size: 465 byte(s)
Sat Oct 4 23:33:09 1997 UTC (23 years, 3 months ago) by monnier
File size: 465 byte(s)
Initial revision
local fun main dpy = let val root = Widget.mkRoot dpy val tm = CMLTraceMenu.mkTraceMenu root ["/"] val shell = Shell.mkShell (CMLTraceMenu.widgetOf tm, NONE, { win_name = SOME "TraceMenu", icon_name = SOME "TM" }) in Shell.init shell; CIO.input_line CIO.std_in; Shell.destroy shell; RunCML.shutdown() end in fun doit' (flags, dpy) = RunCML.doit ( fn () => (XDebug.init flags; main dpy), SOME 10) fun doit dpy = doit'([], dpy) end;
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |