문제

I need for an application to generate a key event in order to emulate a keyboard.

도움이 되었습니까?

해결책

I would guess that you can use e.g. gdk_display_put_event(), but your question is not very clear.

Do you expect other applications than your own to see the emulated keyboard events? Not sure GDK can do that.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top