Dependencies to tcltk and svMisc are eliminated.
Consequently, all functions that depend on Tcl/Tk are eliminated
too. It concerns
other associated methods or functions. The new
function should be used instead.
Temporary objects are now saved in SciViews:TempEnv instead of TempEnv.
Added support for
JGRin dialog boxes under Mac OS X.
menuXXX() functions can manage menus and submenus in JGR.
menuXXX() functions do not generate files in
tmpdir 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 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.
NEWS file reworked to use the new Rd format.
Slight changes in flexible dialog functions according to notes generated by
R CMD check(2.15.0), i.e., partial matching of argument env(ir) and use of
eval.with.vis(); replaced by the function
dlgForm() for flexible form dialog box. Only the Linux
yad and the textual version are currently
Argument message is changed to title in
dlgDir() function, to
match corresponding argument in
also to indicate it can only be a single line of text.
okCancelBox() functions 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-and-drop
from, e.g., nautilus to gnome-terminal in Gnome Linux), on the contrary to
dlgFilters is similar to Filters matrix under Windows, and it
provides a series of default file types and filters for
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.
'disable' in action to change the state of an existing menu item.
On Windows, using an action as
nonexisting menus just does nothing (on the contrary to the original
winMenuAddItem() which creates that menus with the action being
'$ConsoleMain/<menu>' is now accepted as a synonym of
'<menu>' in all
menuXXX() functions, according to
menuXXX() functions now check for bad synthax with the
$Graph<n>Popup: special menu not followed
by at least one submenu.
The console context menu is now implemented too, and
'$ConsolePopup/<menu>' menus allow for adding submenus to it.
menuItems(), working the
same way as
The functions to handle menus in Linux are completely rewritten to use a menu configuration file that a modified version of myGtkMenu (named ctxmenu) can read and interpret to display the corresponding menus.
Similar custom menus as
winMenuXXX() functions are added and
allow to add custom menus on the Mac (both R.app and terminal) and for R
run on a Gnome desktop, providing the system is configured to manage such
guiDlgXXX() functions are reworked into S3 methods and
their interface changes. To avoid any confusion, they are renamed
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 svDialogstcltk.
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
winDialogString() function for Windows.
dlgList() is also refactored that way. Its interface is
completely changed to better match the arguments of
and to make it a direct replacement for that function.
dlgDir() is completely rewritten, as well as,
The tcltk R package is moved from depends to imports.
guiDlgFun() is adapted to the new help system provided in
When the path contained spaces,
guiDlgSave() returned them in pieces.
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-R Consolenot supported any more).