Bug 16466 - Add the tk_chooseColor widget to the tcltk package
Summary: Add the tk_chooseColor widget to the tcltk package
Status: UNCONFIRMED
Alias: None
Product: R
Classification: Unclassified
Component: Graphics (show other bugs)
Version: R-devel (trunk)
Hardware: Other Other
: P5 enhancement
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2015-07-04 18:51 UTC by Thomas J. Leeper
Modified: 2016-07-16 10:09 UTC (History)
0 users

See Also:


Attachments
patch that implements this feature request (994 bytes, patch)
2016-07-16 10:09 UTC, Thomas J. Leeper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas J. Leeper 2015-07-04 18:51:07 UTC
The tcltk package implements most but not all of the available Tk widgets. One missing, standard widget is tk_chooseColor <https://www.tcl.tk/man/tcl8.6/TkCmd/chooseColor.htm>. It can be implemented by simply adding:

tkChooseColor <- function(...) tcl("tk_chooseColor", ...)

to src/library/tcltk/R/Tk.R as one of the "Standard Dialogs" (line 404).
Comment 1 Thomas J. Leeper 2016-07-16 10:09:35 UTC
Created attachment 2127 [details]
patch that implements this feature request

Here is a patch created from `svn diff` that adds this function to the tcltk package and documents it.