Rebol Programming/set-user

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE[edit | edit source]

   SET-USER

DESCRIPTION[edit | edit source]

Show a window to set user preferences:


SET-USER is a function value.

SOURCE[edit | edit source]

set-user: func [][
    if block? ctx-prefs-gui [ctx-prefs-gui: context ctx-prefs-gui]
    ctx-prefs-gui/view-prefs
]