键盘事件基类 更多...
#include <Event.h>
类 GFt::KeyboardEvent 继承关系图:Public 成员函数 | |
| Key | key () const |
| 获取键盘按键 | |
Public 成员函数 继承自 GFt::Event | |
| void | accept () |
| 接受事件 | |
| bool | isAccepted () const |
| 事件是否已被接受 | |
| bool | isPropagationStopped () const |
| 事件是否已被终止传播 | |
| void | stopPropagation () |
| 终止事件传播 | |
键盘事件基类
| Key GFt::KeyboardEvent::key | ( | ) | const |
获取键盘按键
Sys::getKeyState() 或 Sys::getAsyncKeyState() 函数获取键盘按键当前的状态