On this page:
pref:  get/  set
6.0.1

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.