Hello,
I'am trying to get the current keyboard layout in a Mac OS X 10.4 app. I need to detect when the current layout has changed (the user clicked the flag button).
I have followed the code from https://nanohub.org/infrastructure/rappture-runtime/browser/trunk/tk8.4.19/macosx/tkMacOSXKeyEvent.c which seems ok for me and works perfectly in 10.5 & 10.6, but in 10.4, it only gets the system language and no change is detected.
What's the matter with 10.4?
Thank you in advance!
I'am trying to get the current keyboard layout in a Mac OS X 10.4 app. I need to detect when the current layout has changed (the user clicked the flag button).
I have followed the code from https://nanohub.org/infrastructure/rappture-runtime/browser/trunk/tk8.4.19/macosx/tkMacOSXKeyEvent.c which seems ok for me and works perfectly in 10.5 & 10.6, but in 10.4, it only gets the system language and no change is detected.
What's the matter with 10.4?
Thank you in advance!