summaryrefslogtreecommitdiffstats
path: root/doc/bind.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-06-21 19:32:54 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-06-21 19:32:54 (GMT)
commite92cdf0616cec57b1931153917c39892e302dad7 (patch)
tree15c0641e0270eabfc9246af403b6949801ea17a1 /doc/bind.n
parent7c14f0651d87476e61599b8ce5990fdeca2319e1 (diff)
downloadtk-e92cdf0616cec57b1931153917c39892e302dad7.zip
tk-e92cdf0616cec57b1931153917c39892e302dad7.tar.gz
tk-e92cdf0616cec57b1931153917c39892e302dad7.tar.bz2
Highlight the command whose examples these are
Diffstat (limited to 'doc/bind.n')
-rw-r--r--doc/bind.n6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/bind.n b/doc/bind.n
index a38a7a3..1331316 100644
--- a/doc/bind.n
+++ b/doc/bind.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: bind.n,v 1.13 2004/06/21 19:31:51 dkf Exp $
+'\" RCS: @(#) $Id: bind.n,v 1.14 2004/06/21 19:32:54 dkf Exp $
'\"
.so man.macros
.TH bind n 8.0 Tk "Tk Built-In Commands"
@@ -668,7 +668,7 @@ The \fBbgerror\fR command will be executed at global level
Arrange for a string describing the motion of the mouse to be printed
out when the mouse is double-clicked:
.CS
-bind . <Double-1> {
+\fBbind\fR . <Double-1> {
puts "hi from (%x,%y)"
}
.CE
@@ -678,7 +678,7 @@ pressed is:
.CS
set keysym "Press any key"
pack [label .l -textvariable keysym -padx 2m -pady 1m]
-bind . <Key> {
+\fBbind\fR . <Key> {
set keysym "You pressed %K"
}
.CE