svDialogstcltk-package: 'SciViews::R' - Standard Dialog Boxes using Tcl/Tk

svDialogstcltk-packageR Documentation

'SciViews::R' - Standard Dialog Boxes using Tcl/Tk

Description

Implementation of Tcl/Tk dialog boxes for {svDialogs}. When the package is loaded, it inserts a new tcltkGUI dependency in the .GUI object (if it is not defined yet). That way, every call to .GUI dispatches first to the current Tcl/Tk implementation of the dialog boxes. For your own, separate GUI (say called myGUI), you have to create the binding by yourself by calling svGUI::gui_widgets(myGUI) <- "tcltkGUI".

Important functions

  • svDialogs::dlg_message() display a message box,

  • svDialogs::dlg_input() prompt for textual input,

  • svDialogs::dlg_list() select one or more items in a list,

  • svDialogs::dlg_open() open one or more existing file(s),

  • svDialogs::dlg_save() prompt for a file to save to (and ask confirmation if the file already exists),

  • svDialogs::dlg_dir() select a directory,

Author(s)

Maintainer: Philippe Grosjean phgrosjean@sciviews.org (ORCID)

See Also

Useful links:


svDialogstcltk documentation built on Aug. 26, 2025, 9:09 a.m.