8.2 【案例47】按键掌握鱼游动(学问小结键盘(Key)对象和鼠标(Motlse)对象) 8.3 【案例48】播放内部MP3(学问小结声响(Sound)对象的结构函数)
基于20个网页-相关网页
这段代码使用和前面一样的参数:一个目标对象和一组鼠标处理程序。
This code takes the same arguments as before: a target object and a set of mouse handlers.
这些对象都是逐个修改的,这意味着管理员使用鼠标和键盘来定义更改。
Each of these objects are modified one by one, meaning that the administrator USES his mouse and keyboard to define the changes.
应用程序的“事件循环”会给这个聚焦的对象发送键盘键盘动作、鼠标事件和菜单选择等行为。
The application's "event loop" will send keyboard actions, mouse events and menu selections to this focus object.
应用推荐