推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
vtoexsir
V2EX  ›  Python

请问 pyqt 中是否有弹出 3 秒后就自动关闭的提示信息框?

  •  
  •   vtoexsir · Nov 17, 2016 · 5931 views
    This topic created in 3650 days ago, the information mentioned may be changed or developed.

    我的意思是,提示框弹出来之后,如果 3 秒内没有被点击,

    那么这个提示框就自动关闭.

    如果 pyqt 没有这样可有自动关闭的提示框控件,那 tkinter 是否有这样的控件?

    多谢您的回复!

    5 replies  •  2016-11-22 22:43:22 +08:00
    XYxe
    XYxe
    Nov 17, 2016
    1
    加个定时器不行吗?
    gotounix
    gotounix
    Nov 17, 2016
    2
    QTimer
    helloliao
    helloliao
    Nov 17, 2016❤️1
    4
    QSystemTrayIcon.showMessage()
    vtoexsir
    vtoexsir
    OP
    Nov 22, 2016
    5
    @oglop 谢谢,可行!
    @zsen 谢谢,可行!
    多谢各位!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1797 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 04:43 · PVG 12:43 · LAX 20:43 · JFK 23:43
    ♥ Do have faith in what you're doing.