*TclHaskell Demonstrations

Follow the links to run the TclHaskell demos.  The first set of demos 
feature complete programs while the second set are samples
illustrating the various widgets. These demos have been updated
by Meurig Sage to work with the latest TclHaskell release.

*Demo Programs

Some simple demo programs that start with a trivial button demonstation and
progress to more substantial fare.

>hello>1.  Hello>Left: Run the "Hello" demo.    Right: View the code.
%            A simple button demo.
>bounce>2.  Bounce>Left: Run the "Bounce" demo.   Right: View the code. 
%            A bouncing ball demo. (Right click to change the bounce
            speed). (by Philip Healy)
>koch>3.  Koch >Left: Run the "Koch" demo.   Right: View the code.
%            Draws a simple fractal on a canvas. (by Chris Dornan)
>ted>4.  Ted>Left: Run the "Ted" demo.   Right: View the code.
%            A simple text editor. (by Chris Dornan)
>graphEdit>5.  GraphEdit>Left: Run the "GraphEdit" demo.  Right: View the code.
%            This demo orginated in an example in the Ousterhout book, 
%            was adapted for a TkGopher demo before being adapted to
%            TclHaskell.  Press the left button to create a node, right button
%            to move it, key `1' to set the first node of an arc, key `2' to
%            complete the arc.  (by Chris Dornan)
>logo>6.  Logo>Left: Run the "Logo" demo.  Right: View the code.
%            A Logo Interpretter. (by Philip Healy)

*Widget Demos

Most of these demos are directly based on the Tk `Widget Tour' demos.

>buttons>7.  Buttons>Left: Run the "Buttons" demo.   Right: View the code.
%            A demo showing various button attributes.
>labels>8.  Labels>Left: Run the "Labels" demo.   Right: View the code.
%            Similar to the buttons demo, this time using labels.
>image>9.  Image>Left: Run the "Image" demo.   Right: View the code.
%            Pictures of Earth displayed using labels.
>basicList>10. BasicList>Left: Run the "BasicList" demo.  Right: View the code.
%            A simple list with Irish counties as the entries.
>entries>11. Entries>Left: Run the "Entries" demo.   Right: View the code.
%            Some entries with and without scrollbars.
>checkBut>12. CheckBut>Left: Run the "CheckBut" demo.   Right: View the code.
%            Simple checkbutton demo.
>radioBut>13. RadioBut>Left: Run the "Radio" demo.   Right: View the code.
%            Simple radiobutton demo.
>vertScale>14. VertScale>Left: Run the "VertScale" demo.  Right: View the code.
%            A scales demo which displays an arrow.
>basicMenu>15. BasicMenu>Left: Run the "BasicMenu" demo.  Right: View the code.
%            Very simple menu for a text widget.
>menus>16. Menus>Left: Run the "Menus" demo.   Right: View the code.
%            A demo showing various menu configurations.
>citems>17. Citems>Left: Run the "Citems" demo.   Right: View the code.
%            This demo displays the different canvas items.
>ewidgets>18. EWidgets>Left: Run the "EWidgets" demo. Right: View the code.
%             This demo displays an embedded widget (a button) in a text area.
>dialog>18. Dialog>Left: Run the "Dialog" demo. Right: View the code.
%	     This demo shows dialog boxes in action.
