▼ |  | The Racket Graphical Interface Toolkit

1 | Windowing
2 | Widget Gallery
3 | Windowing Classes
4 | Windowing Functions
5 | Editors
6 | Snip and Style Classes
7 | Editor Classes
8 | Editor Functions
9 | WXME Decoding
10 | Preferences
11 | Dynamic Loading
12 | Startup Actions
13 | Init Libraries
14 | Platform Dependencies
| Index

On this page:

gui-available?
gui-dynamic-require

top ← prev up next →

### 11`` Dynamic Loading

(require racket/gui/dynamic) | package: base

The racket/gui/dynamic library provides functions for dynamically accessing the racket/gui/base library, instead of directly requiring racket/gui or racket/gui/base.

> procedure (gui-available?) → boolean?

Returns #t if dynamic access to the GUI bindings is available. The bindings are available if racket/gui/base has been loaded, instantiated, and attached to the namespace in which racket/gui/dynamic was instantiated.

> procedure (gui-dynamic-require sym) → any
> sym : symbol?

Like dynamic-require, but specifically to access exports of racket/gui/base.
top ← prev up next →