Tcl8.5.19/Tk8.5.19 Documentation > TkCmd > bell

Tcl/Tk Applications | Tcl Commands | Tk Commands | Tcl Library | Tk Library


bell - Ring a display's bell


bell ?-displayof window? ?-nice?


This command rings the bell on the display for window and returns an empty string. If the -displayof option is omitted, the display of the application's main window is used by default. The command uses the current bell-related settings for the display, which may be modified with programs such as xset.

If -nice is not specified, this command also resets the screen saver for the screen. Some screen savers will ignore this, but others will reset so that the screen becomes visible again.


beep, bell, ring
Copyright © 1995-1997 Roger E. Critchlow Jr. Copyright © 1994 The Regents of the University of California. Copyright © 1994-1996 Sun Microsystems, Inc. Copyright © 2000 Ajuba Solutions.