Displaying 5 results from an estimated 5 matches for "dokeybd".
Did you mean:
dokey
2016 Sep 21
1
Handlers in setGraphicsEventHandlers() can recursively call getGraphicsEvent(). Intended behavior?
doKeybd() gets called in CHelpKeyIn() and NHelpKeyIn() in
library/grDevices/src/devWindows.c, where the call is encapsulated in an
'if (dd->gettingEvent)' block. So the only times this code ever calls
doKeybd() is when gettingEvent is in fact set.
Further, it's called in two locations in X1...
2016 Sep 17
2
Handlers in setGraphicsEventHandlers() can recursively call getGraphicsEvent(). Intended behavior?
Hey all.
As in general it's a bad idea to allow an event handler to generate an
event, and as comments in the code seem to suggest this isn't the
intention either, I was wondering about recursion in getGraphicsEvent().
In main/gevents.c, both doMouseEvent() and doKeybd() have the following
line;
dd->gettingEvent = FALSE; /* avoid recursive calls */
And they reset it to TRUE before returning. The effective result of this
is that the event handlers on the R side are allowed to call
getGraphicsEvent(), and recurse until they eventually would run out of
stac...
2016 Sep 21
0
Handlers in setGraphicsEventHandlers() can recursively call getGraphicsEvent(). Intended behavior?
...> Hey all.
>
> As in general it's a bad idea to allow an event handler to generate an
> event, and as comments in the code seem to suggest this isn't the
> intention either, I was wondering about recursion in getGraphicsEvent().
> In main/gevents.c, both doMouseEvent() and doKeybd() have the following
> line;
>
> dd->gettingEvent = FALSE; /* avoid recursive calls */
>
> And they reset it to TRUE before returning. The effective result of this
> is that the event handlers on the R side are allowed to call
> getGraphicsEvent(), and recurse until they...
2007 Oct 03
1
R-2.6.0 is released
...ata on to a
function that modifies its arguments.
o asLogical, asInteger, asReal and asComplex now accept STRSXP
and CHARSXP arguments, and asChar accepts CHARSXP.
o New R_GE_str2col() exported via R_ext/GraphicsEngine.h for
external device developers.
o doKeybd and doMouseevent are now exported in GraphicsDevice.h.
o R_alloc now has first argument of type 'size_t' to support
64-bit platforms (e.g. Win64) with a 32-bit 'long' type.
o The type of the last two arguments of getMatrixDimnames (non-API
but mentioned...
2007 Oct 03
1
R-2.6.0 is released
...ata on to a
function that modifies its arguments.
o asLogical, asInteger, asReal and asComplex now accept STRSXP
and CHARSXP arguments, and asChar accepts CHARSXP.
o New R_GE_str2col() exported via R_ext/GraphicsEngine.h for
external device developers.
o doKeybd and doMouseevent are now exported in GraphicsDevice.h.
o R_alloc now has first argument of type 'size_t' to support
64-bit platforms (e.g. Win64) with a 32-bit 'long' type.
o The type of the last two arguments of getMatrixDimnames (non-API
but mentioned...