{ (define LIBNAME "Guess GUI") (include "head.tinc") }
The teachpack guess-gui.ss implements three functions:
guess-gui.ss
{(idx control)} : N -> symbol
{(idx view)} : (union string symbol) -> true
modelT = (button% event% -> true)
{(idx connect)} : modelT -> true
Example:
(connect (lambda (e b) (begin (printf "0th digit: ~s~n" (control 0)) (view (control 0)))))