[wxPython-users] Beep?

Robin Dunn robin at alldunn.com
Tue Jan 2 12:44:41 PST 2007


Paul Koning wrote:
>>>>>> "Peter" == Peter Decker <pydecker at gmail.com> writes:
> 
>  Peter> How do I make my app beep (like when there's an error)?  --
> 
> Try wx.Bell().  It needs to have the alert beep enabled in the
> underlying platform.  On Windows that means having the sounds setup so
> Alert sounds a beep.  On Linux it supposedly can be done too but I've
> had little luck...

It works for me on KDE.  In Control Center there is a System Bell panel 
that has options to control where the sound comes from, and IIRC there 
is a setting somewhere else that specifies what other apps are to use.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list