▼ |  | Unstable GUI: May Change Without Warning

1 | Notify-boxes
2 | Preferences
3 | Pict Utilities
4 | Slideshow Presentations
5 | Progressive Picts and Slides
6 | Snip Utilities
7 | Scribble Utilities

On this page:

pref: get/ set

6.1.1
top ← prev up next →

### 2`` Preferences

Ryan Culpepper <ryanc@racket-lang.org>

This library is unstable; compatibility will not be maintained. See Unstable: May Change Without Warning for more information.

(require unstable/gui/prefs) | package: gui-lib

> procedure (pref:get/set pref) → (case-> (-> any/c) (-> any/c void?))
> pref : symbol?

Returns a procedure that when applied to zero arguments retrieves the current value of the preference (framework/preferences) named pref and when applied to one argument updates the preference named pref.
top ← prev up next →