Re: How to Beep with GTK ????



   >Theres a GTK command that emit sounds like a "Beep" ?

	 gdk_beep()

   its use is deprecated (by me, at least). you may, for example, have a
   deaf user.

   it is better to find other ways to signal the user.

Or, for that matter, the user may have just turned off the beep...  it
strikes me as unfortunate that AFAIK there is no way to have the X
server translate a beep into flashing the screen or something; that
way the programmer could safely use gdk_beep() and be confident that
whatever happened would be what the user wanted to use as an alert.
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer
SWNMRSEF:  http://www.nmsu.edu/~scifair




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]