gpt4 book ai didi

Python - pythoncom.PumpMessages()

转载 作者:太空宇宙 更新时间:2023-11-03 11:02:00 26 4
gpt4 key购买 nike

我很惊讶地发现没有很多关于函数 pythoncom.PumpMessages()pythoncom 模块的解释文档。

那么 pythoncom.PumpMessages()pythoncom.PumpWaitingMessages() 做了什么以及如何做?我真正知道的是用于从输入设备捕获事件。

最佳答案

可以找到有关这些方法的文档 here .

相关位是:

  • PumpWaitingMessages: Pumps all waiting messages for the current thread.
  • PumpMessages: Pumps all messages for the current thread until a WM_QUIT message.

关于Python - pythoncom.PumpMessages(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30691875/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com