On this page:
pref: get/ set
Version: 5.0

27.2 Preferences

Ryan Culpepper <ryanc@racket-lang.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.