Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

{Keydown,"c"} event in graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122649] {Keydown,"c"} event in graphics
  • From: nicolas at virtualdynamics.fr
  • Date: Fri, 4 Nov 2011 06:02:25 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Does any body knows how to set a key down event for "c" for an event
handler wrapped around a graphics object ?

The "c" is associated by the front end to the creation of a circle,
and i need this key and others shortcuts for other tasks.

EventHandler[Graphics[{}], {"KeyDown", "c"} :> ( (* does not work *)
Beep[])]

Thanks  Nicolas



  • Prev by Date: Re: Simple question about inverse of a function
  • Next by Date: bug in Mathematica?
  • Previous by thread: Re: Exit a loop
  • Next by thread: Re: {Keydown,"c"} event in graphics