Learn R Programming

svDialogstcltk (version 1.0.1)

svDialogstcltk-package: '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".

Arguments

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

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

See Also