分类: LINUX
2017-02-15 10:39:21
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返回的是当前活动窗体整体的句柄