推荐学习书目
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 · 5599 views
    This topic created in 3465 days ago, the information mentioned may be changed or developed.

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

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

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

    多谢您的回复!

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