Racket GUI library is very convenient, do an interface with the software or some small games really fast, as usual entertainment is very good.
Racket provides two ways to use the GUI library.
The first kind is more convenient and concise. 2htdp/universe provides a Big-bang method to handle various events conveniently, the documentation is detailed, and the document is read directly. However, although this method is convenient, this is not entirely the use of the library's full posture, this is just a concise introduction to how to use the library.
The second is a more general approach, creating a new frame% window, laying out the entire interface framework, inheriting the canvas% class, and then rewriting the various event fallback functions. Various events are similar to events in Windows, and there are several common on-paint, update interfaces, on-event, mouse events, On-char keyboard events. This method is more commonly used, Racket some of the small game examples are used this method, specific examples see the \racket\share\pkgs\games\mines of mine code.
The documentation is detailed, see the documentation for details.
Racket GUI Library related