[Rd] Add "Idle" as possible "event" in `dev.capabilities("events")`?

Trevor Davis trevor@|@d@v|@ @end|ng |rom gm@||@com
Fri Apr 22 22:36:29 CEST 2022

Dear R Devs,

* `grDevices::dev.capabilities("events")` currently only reports current
graphic device support for the "MouseDown", "MouseMove", "MouseUp", and
"Keybd" "events"
* `grDevices::getGraphicsEvent()` supports functions for those four events
plus an additional "Idle" "event"
* It could be nice if "Idle" was listed as a possible "event" in
* Currently `x11()` supports the "Idle" "event" on *nix systems but not
Windows systems so developers would need to additionally check the OS on
top of `dev.capabilities("events")` to be sure if the "Idle" "event" was
supported and such a check risks becoming obsolete in the future (if new
interactive graphic devices besides `x11()` supports these events or "Idle"
event support eventually gets added in Windows).



	[[alternative HTML version deleted]]

More information about the R-devel mailing list