Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
在Gtk中如何能够监听全局鼠标键盘事件?
社区开发
1668
views ·
0
replies ·
To
floor
Go
jiffies
deepin
2014-08-24 02:14
Author
Hello,大家好。最近我在学习使用PyGObject,在一个Gtk.Widget中我能够用监听"motion-notify-event"获得鼠标移动事件。但是只有鼠标在窗口中才行,我想要窗口外的鼠标事件应该怎么办?
我想到用timeout去做,但是应该不是最佳的方法。我想有什么我应该不知道,恳请指导。
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Deepin 25.0.1 installation no desktop, Thinkpad T480
Popular Events
More
我想到用timeout去做,但是应该不是最佳的方法。我想有什么我应该不知道,恳请指导。