Quickly construct standard dialog boxes for your GUI, including message boxes, input boxes, list, file or directory selection, ... In case R cannot display GUI dialog boxes, a simpler command line version of these interactive elements is also provided as fallback solution.
= svDialogs News
== Changes in svDialogs 0.9-57
== Changes in svDialogs 0.9-56
== Changes in svDialogs 0.9-55
== Changes in svDialogs 0.9-54
Dependencies to tcltk and svMisc are eliminated. Consequently, all functions that depend on Tcl/Tk are eliminated too. It concerns guiDlg(), guiDlgFunction() and other associated methods or functions. The new dlgForm() function should be used instead.
Temporary objects are now saved in SciViews:TempEnv instead of TempEnv.
== Changes in svDialogs 0.9-53
Added support for JGR in dialog boxes under Mac OS X.
The menuXXX() functions can manage menus and submenus in JGR.
== Changes in svDialogs 0.9-52
menuXXX() functions do not generate files in \tmp dir on Linux, unless in interactive() session, and with explicit user's acknowledgement. Moreover, the user name is not used anymore as part of the name of the temporary menu files generated (cf CRAN policies and following B. Ripley's request).
Code to manage menuXXX() items on Mac OS X is considered still experimental (on R-forge, not CRAN) and is now commented out. Will be further developed in a future version of the svDialogs package.
== Changes in svDialogs 0.9-51
== Changes in svDialogs 0.9-50
== Changes in svDialogs 0.9-49
== Changes in svDialogs 0.9-48
Argument message is changed to title in dlgDir() function, to match corresponding argument in dlgOpen() and dlgSave() and also to indicate it can only be a single line of text!
Added msgBox() and okCancelBox() function for simpler message box handling.
dlgOpen() is now implemented and its textCLI version also accepts single and double quotes around file path (allow to drag&drop from, e.g., nautilus to gnome-terminal in Gnome Linux), on the contrary to file.choose().
dlgFilters is similar to Filters matrix under Windows, and it provides a series of default file types and filters for dlgOpen() and dlgSave().
dlgSave() is also implemented, but it uses choose.files() on Windows, which is merely designed to open file(s) instead of providing a file name to save to.
== Changes in svDialogs 0.9-47
Now, menuAddItem() implements 'enable' and 'disable' in action to change the state of an existing menu item.
On Windows, using an action as 'enable' or 'disable' on nonexisting menus just does nothing (on the contrary to the original winMenuAddItem() which creates that menus with the action being 'enable' or 'disable', respectively).
'$ConsoleMain/' is now accepted as a synonym of '' in all menuXXX() functions, according to corresponding winMenuXXX() functions.
The menuXXX() functions now check for bad synthax with the special menus $ConsoleMain, $ConsolePopup, $GraphMain and $GraphPopup: special menu not followed by at least one submenu.
The console context menu is now implemented too, and '$ConsolePopup/' menus allow for adding submenus to it.
Addition of menuNames() and menuItems(), working the same way as winMenuNames() and winMenuItems() under Windows.
== Changes in svDialogs 0.9-46
== Changes in svDialogs 0.9-45
== Changes in svDialogs 0.9-44
The guiDlgXXX() functions are reworked into S3 methods and their interface changes. To avoid any confusion, they are renamed dlgXXX().
dlgMessage() is reworked into native dialog box, but it looses a couple of options during the process (title, icon, parent). The previous code is now moved to svDialogs.tcltk.
dlgInput() is reworked the same way, and it looses the 'parent' argument that was not implemented yet, anyway, and the 'title' argument that is now always "question" in order to match winDialogString() function for Windows.
dlgList() is also refactored that way. Its interface is completely changed to better match the arguments of select.list() and to make it a direct replacement for that function.
dlgDir() is completely rewritten, as well as, dlgOpen() and dlgSave().
== Changes in svDialogs 0.9-43
== Changes in svDialogs 0.9-42
== Changes in svDialogs 0.9-41
== Changes in svDialogs 0.9-40
This is the first version distributed on R-forge. It is completely refactored from older versions (on CRAN since 2003) to make it run with SciViews-K and Komodo Edit (SciViews-R Console not supported any more).