► |  | Unstable

1 | Guidelines for developing unstable libraries
2 | Bytes
3 | Contracts
4 | Exceptions
5 | Lists
6 | Net
7 | Path
8 | Source Locations
9 | Strings
10 | Structs
11 | Syntax
12 | Anaphoric Contracts
13 | Finding Mutated Variables
14 | Find
15 | Interface-Oriented Programming for Classes
16 | Sequences
17 | Hash Tables
18 | Match
19 | Skip Lists
20 | Interval Maps
21 | GUI libraries

▼ | 21 | GUI libraries

21.1 | Notify-boxes
21.2 | Preferences

On this page:

pref: get/ set

Version: 4.2.4
top← prev up next →

#### 21.2`` Preferences

Ryan Culpepper <ryanc@plt-scheme.org>

(require unstable/gui/prefs)

This library is unstable; compatibility will not be maintained. See Unstable for more information.

(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 →