R/svDialogstcltk-package.R

#' 'SciViews::R' - Standard Dialog Boxes using Tcl/Tk
#'
#' 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"`.
#'
#' @section 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,

# The following block is used by usethis to automatically manage
# roxygen namespace tags. Modify with care!
## usethis namespace: start
#' @import svDialogs
#' @import svGUI
#' @import tcltk
#' @importFrom utils alarm
## usethis namespace: end
"_PACKAGE"

Try the svDialogstcltk package in your browser

Any scripts or data that you put into this service are public.

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