Liking cljdoc? Tell your friends :D

seesaw.pref


bind-preference-to-atomcljmacro

(bind-preference-to-atom key atom)

Bind atom to preference by syncing it with (java.util.prefs.Preferences/userRoot) for the current namespace and a given KEY. If no preference has been set yet the atom will stay untouched, otherwise it will be set to the stored preference value. Note that any value of the atom and the preference key must be printable per PRINT-DUP and readable per READ-STRING for it to be used with the preferences store.

Bind atom to preference by syncing it
with (java.util.prefs.Preferences/userRoot) for the current
namespace and a given KEY. If no preference has been set yet the
atom will stay untouched, otherwise it will be set to the stored
preference value. Note that any value of the atom and the preference
key must be printable per PRINT-DUP and readable per READ-STRING for
it to be used with the preferences store.
sourceraw docstring

bind-preference-to-atom*clj

(bind-preference-to-atom* ns key atom)

Bind atom to preference by syncing it with (java.util.prefs.Preferences/userRoot) for the specified namespace and a given KEY. If no preference has been set yet the atom will stay untouched, otherwise it will be set to the stored preference value. Note that any value of the atom and the preference key must be printable per PRINT-DUP and readable per READ-STRING for it to be used with the preferences store.

Bind atom to preference by syncing it
with (java.util.prefs.Preferences/userRoot) for the specified
namespace and a given KEY. If no preference has been set yet the
atom will stay untouched, otherwise it will be set to the stored
preference value. Note that any value of the atom and the preference
key must be printable per PRINT-DUP and readable per READ-STRING for
it to be used with the preferences store.
sourceraw docstring

preference-atomcljmacro

(preference-atom key)
(preference-atom key initial-value)

Create and return an atom which has been bound using bind-preference-to-atom for the current namespace.

Create and return an atom which has been bound using
bind-preference-to-atom for the current namespace.
sourceraw docstring

preferences-nodecljmacro

(preferences-node)
(preferences-node ns)

Return the java.util.prefs.Preferences/userRoot for the current or the specified namespace.

Return the java.util.prefs.Preferences/userRoot for the current
or the specified namespace.
sourceraw docstring

preferences-node*clj

(preferences-node* ns)

Return the java.util.prefs.Preferences/userRoot for the specified namespace.

Return the java.util.prefs.Preferences/userRoot for the specified
namespace.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close