Re: detect ctrl+c in key_press_event handler



Ken Resander wrote:
> I am in nearly unknown territory, since mostly I have been in the ASCII world with chars from a to z.
> 
> Could you check the event.keyval for character 'C' on your keyboard and see what character code is returned. Use printf to view the value. Then use this value in the comparison instead of 'C'. Please let me know if it works ( I want to know too!).
> 
> Ken

It returns 0.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]