简体   繁体   中英

How to sound a beep with PyFace?

PyFace is an Enthought library for Python that's supposed to provide toolkit-independent GUI facilities for use with other Enthought libraries.

Can I make it beep? Or do I have to resort to the underlying GUI toolkit?

No, but it will be possible in a future version of PyFace: I contributed a patch.

https://github.com/enthought/pyface/commit/83cef1505e7ab131a51a69e5dcdbd9f53060640e

from pyface.api import beep
beep()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM