From: Eric F. <ef...@ha...> - 2013-08-01 21:20:59
|
On 2013/08/01 10:40 AM, Matt Terry wrote: > Hi, > I'm working on cleaning up the key-event callback code. What is the > correct spelling of the control key? Is it "control" or "ctrl"? > Different backends spell it differently. May I homogenize things at the > expense of breaking code? Fwiw, the qt4 backend spells it both ways > depending on the code path. > > -matt Matt, http://matplotlib.org/api/backend_bases_api.html#matplotlib.backend_bases.KeyEvent It looks like the key is "control" but the modifier is "ctrl". Eric |