Rebol Programming/get-style
Appearance
USAGE:
[edit | edit source]GET-STYLE name /styles ss
DESCRIPTION:
[edit | edit source]Get the style by its name.
GET-STYLE is a function value.
ARGUMENTS
[edit | edit source]- name -- (Type: word)
REFINEMENTS
[edit | edit source]- /styles
- ss -- Stylesheet (Type: any)
SOURCE CODE
[edit | edit source]get-style: func [ "Get the style by its name." name [word!] /styles ss "Stylesheet" ][ if none? styles [ss: vid-styles] select ss name ]