技术宅,开源软件爱好者 虚拟机,编译器,编辑器,MCU IP,数据结构,操作系统,TCP/IP协议
分类: LINUX
2010-12-08 17:14:09
Returns the application widget that has the keyboard input focus, or 0 if no widget in this application has the focus.
Returns the application top-level window that has the keyboard input focus, or 0 if no application window has the focus. There might be an activeWindow() even if there is nofocusWidget(), for example if no widget in that window accepts key events.
focusWidget返回的是当前活动窗体内聚焦部件的句柄
activeWindow返回的是当前活动窗体整体的句柄