Declare Option Names that Correspond with Widget Names

Share:

Description

This function allows a GUI creator to specify widget names that correspond to names in PBS options. These widgets can then be used to load and set PBS options using getGUIoptions and setGUIoptions.

Usage

1
declareGUIoptions(newOptions)

Arguments

newOptions

a character vector of option names

Details

declareGUIoptions is typically called in a GUI initialization function. The option names are remembered and used for the functions getGUIoptions, setGUIoptions, and promptSave.

Author(s)

Anisa Egeli, Vancouver Island University, Nanaimo BC

See Also

getGUIoptions, setGUIoptions, promptWriteOptions

Examples

1
2
3
4
5
6
## Not run: 
local(envir=.PBSmodEnv,expr={
  declareGUIoptions("editor")
})

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.