Re: on_key event issue

2017-06-06 Thread Edward K. Ream
On Mon, Jun 5, 2017 at 8:54 PM, Adrian Calvin wrote: > I have a very simple event handler for the on_key event: > > def on_key(kind, keywords): > print(keywords) > > > g.registerHandler(" > ​​ > bodykey2", on_key) > > IT captures "true" chars just fine (e.g. abc123#$%^^&), but ESC, CTRL, > AL

Re: on_key event issue

2017-06-05 Thread Terry Brown
On Mon, 5 Jun 2017 18:54:03 -0700 (PDT) Adrian Calvin wrote: > I have a very simple event handler for the on_key event: > > def on_key(kind, keywords): > print(keywords) > > > g.registerHandler("bodykey2", on_key) > > IT captures "true" chars just fine (e.g. abc123#$%^^&), but ESC, > CTRL

on_key event issue

2017-06-05 Thread Adrian Calvin
I have a very simple event handler for the on_key event: def on_key(kind, keywords): print(keywords) g.registerHandler("bodykey2", on_key) IT captures "true" chars just fine (e.g. abc123#$%^^&), but ESC, CTRL, ALT, BACKSPACE, etc. do not trigger anything for me. What am I doing wrong? --