ocaml / otherlibs / labltk / examples_labltk /

Filename Size Date modified Message
..
46 B
52.2 KB
2.3 KB
2.1 KB
531 B
3.9 KB
4.8 KB
5.7 KB
2.4 KB
1.7 KB
1.1 KB
3.1 KB
4.8 KB
17.5 KB
$Id$

Some examples for LablTk.
They are written in classic mode, except testris.ml which uses label
commutation.
You may either compile them here, or just run them as scripts with
        labltk example.ml

hello.ml        A very simple example of CamlTk
hello.tcl       The same programme in Tcl/Tk

demo.ml         A demonstration using many widget classes

eyes.ml         A "bind" test

calc.ml         A little calculator

clock.ml        An analog clock  (uses unix.cma)

tetris.ml       You NEED a game also (uses -labels)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.