REBOL Programming/set-user

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE[edit]

   SET-USER

DESCRIPTION[edit]

Show a window to set user preferences:

Set user window

SET-USER is a function value.

SOURCE[edit]

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