Get unicode char from OnAction()
#1
Hello is it possible to get unicode character pressed on keyboard in XMLWindow onAction event. i am doing this:

def onAction( self, action ):
key_code=action.getButtonCode()

with ascii chars everything works fine, but when i press some unicode i got always the same button code - 61952.

unicode for example is this situation in russian keyboard layout and when i press letter 'a' i should get thus symbol 'ф'.

I need this because i want to make on screen keyboard with russain characters on buttons, and i want it to react to direct keyboard input like original on screen keyboard does Smile

Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
Get unicode char from OnAction()0