API for seesaw.options
-
by Dave Ray
Full namespace name:
seesaw.options
Overview
Functions for dealing with options.
Public Variables and Functions
ignore-option
function
Usage: (ignore-option name examples)
(ignore-option name)
Might be used to explicitly ignore the default behaviour of options.
ignore-options
function
Usage: (ignore-options source-options)
Create a ignore-map for options, which should be ignored. Ready to
be merged into default option maps.
option-map
function
Usage: (option-map & opts)
Construct an option map from a list of options.
resource-option
function
Usage: (resource-option option-name keys)
Defines an option that takes a j18n namespace-qualified keyword as a
value. The keyword is used as a prefix for the set of properties in
the given key list. This allows subsets of widget options to be configured
from a resource bundle.
Example:
; The :resource property looks in a resource bundle for
; prefix.text, prefix.foreground, etc.
(resource-option :resource [:text :foreground :background])