▼ |  | The Racket Guide

1 | Welcome to Racket
2 | Racket Essentials
3 | Built-In Datatypes
4 | Expressions and Definitions
5 | Programmer-Defined Datatypes
6 | Modules
7 | Contracts
8 | Input and Output
9 | Regular Expressions
10 | Exceptions and Control
11 | Iterations and Comprehensions
12 | Pattern Matching
13 | Classes and Objects
14 | Units (Components)
15 | Reflection and Dynamic Evaluation
16 | Macros
17 | Creating Languages
18 | Concurrency and Synchronization
19 | Performance
20 | Parallelism
21 | Running and Creating Executables
22 | More Libraries
23 | Dialects of Racket and Scheme
24 | Command-Line Tools and Your Editor of Choice
| Bibliography
| Index

► | 22 | More Libraries

22.1 | Graphics and GUIs
22.2 | The Web Server
22.3 | Using Foreign Libraries
22.4 | And More

On this page:

22.1`` Graphics and GUIs
22.2`` The Web Server
22.3`` Using Foreign Libraries
22.4`` And More

top ← prev up next →

### 22`` More Libraries

This guide covers only the Racket language and libraries that are documented in The Racket Reference. The Racket distribution includes many additional libraries.

#### 22.1`` Graphics and GUIs

Racket provides many libraries for graphics and graphical user interfaces (GUIs):

- The racket/draw library provides basic drawing tools, including drawing contexts such as bitmaps and PostScript files.

  See The Racket Drawing Toolkit for more information.

- The racket/gui library provides GUI widgets such as windows, buttons, checkboxes, and text fields. The library also includes a sophisticated and extensible text editor.

  See The Racket Graphical Interface Toolkit for more information.

- The pict library provides a more functional abstraction layer over racket/draw. This layer is especially useful for creating slide presentations with Slideshow, but it is also useful for creating images for Scribble documents or other drawing tasks. Pictures created with the pict library can be rendered to any drawing context.

  See Slideshow: Figure and Presentation Tools for more information.

- The 2htdp/image library is similar to pict. It is more streamlined for pedagogical use, but also slightly more specific to screen and bitmap drawing.

  See 2htdp/image for more information.

- The sgl library provides OpenGL for 3-D graphics. The context for rendering OpenGL can be a window or bitmap created with racket/gui.

  See the SGL documentation for more information.

#### 22.2`` The Web Server

Web Applications in Racket describes the Racket web server, which supports servlets implemented in Racket.

#### 22.3`` Using Foreign Libraries

The Racket Foreign Interface describes tools for using Racket to access libraries that are normally used by C programs.

#### 22.4`` And More

Racket Documentation lists documentation for many other installed libraries. Run raco docs to find documentation for libraries that are installed on your system and specific to your user account.

PLaneT offers even more downloadable packages contributed by Racketeers.

top ← prev up next →