用gtk_im_context_filter_keypress(Context, Event);可以发送键盘事件给输入法。但用gtk_im_context_get_preedit_string(Context, @Preedit, Attrs, @CursorPos);和gtk_im_context_get_surrounding(Context, @SurroundingText, @SurroundingLength); 得到的都是空。请问有人能解决吗。