Im trying to change the input language in gtk , without asking the user to change his keyboard layout(just for one program), can i do that?
If not can i change the layout?(i think i cant)
If not can i get the key that the user inputed .Not the character(because it could be unicode or another language) i just want the key.Example:User pressed 'K' on the keyboard with layout Arabic ,but i dont want the Arabic character as output i want 'K'.
All 3 ways will solve my problem. I'll choose the laziest ofcourse.
I program in c gtk2 ,ok?