吧务
level 12
import os
os.environ["SDL_IME_SHOW_UI"] = "1"
2024年03月19日 13点03分
2
level 11
pygame.key.stop_text_input()跟pygame.key.start_text_input()
unicode輸入 預設就開了的,
hitzsf跟範本整個程式跟notepad的沒問題,我的mesbox只是主程式很少部份用到ime的,
其他時候按鍵也出選字怎麼辦?
簡單,在global加入stop_text_input,用時start_text_input用完再stop就搞定了......
可悲的是由在官網看文件說start handling Unicode text input events
到入手範本再到今早看完hitzsf的範本前我都以為打開選字的是它...
喵,不過打開被自己關了的選字的也確實是它......
2024年03月20日 00点03分
4