archie/tk4.2/doc/bell.n
2024-05-27 16:40:40 +02:00

35 lines
1.0 KiB
Plaintext

'\"
'\" Copyright (c) 1994 The Regents of the University of California.
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
'\" SCCS: @(#) bell.n 1.8 96/03/26 18:19:55
'\"
.so man.macros
.TH bell n 4.0 Tk "Tk Built-In Commands"
.BS
'\" Note: do not modify the .SH NAME line immediately below!
.SH NAME
bell \- Ring a display's bell
.SH SYNOPSIS
\fBbell \fR?\fB\-displayof \fIwindow\fR?
.BE
.SH DESCRIPTION
.PP
This command rings the bell on the display for \fIwindow\fR and
returns an empty string.
If the \fB\-displayof\fR 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 \fBxset\fR.
.PP
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.
.SH KEYWORDS
beep, bell, ring