summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/pack.n6
-rw-r--r--doc/place.n4
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/pack.n b/doc/pack.n
index ad82adb..0d9956c 100644
--- a/doc/pack.n
+++ b/doc/pack.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: pack.n,v 1.4 2004/06/21 14:56:28 dkf Exp $
+'\" RCS: @(#) $Id: pack.n,v 1.5 2004/07/01 08:06:15 dkf Exp $
'\"
.so man.macros
.TH pack n 4.0 Tk "Tk Built-In Commands"
@@ -263,8 +263,8 @@ the stacking order of either the master or the slave.
# Make the widgets
label .t \-text "This widget is at the top" \-bg red
label .b \-text "This widget is at the bottom" \-bg green
-label .l \-text "Left\nHand\nSide"
-label .r \-text "Right\nHand\nSide"
+label .l \-text "Left\\nHand\\nSide"
+label .r \-text "Right\\nHand\\nSide"
text .mid
\.mid insert end "This layout is like Java's BorderLayout"
# Lay them out
diff --git a/doc/place.n b/doc/place.n
index 32fa68a..3697fab 100644
--- a/doc/place.n
+++ b/doc/place.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: place.n,v 1.5 2004/06/21 20:42:21 dkf Exp $
+'\" RCS: @(#) $Id: place.n,v 1.6 2004/07/01 08:06:15 dkf Exp $
'\"
.so man.macros
.TH place n "" Tk "Tk Built-In Commands"
@@ -240,7 +240,7 @@ frames and canvases that provide configuration options for this purpose.
Make the label occupy the middle bit of the toplevel, no matter how it
is resized:
.CS
-label .l \-text "In the\nMiddle!" \-bg black \-fg white
+label .l \-text "In the\\nMiddle!" \-bg black \-fg white
\fBplace\fR .l \-relwidth .3 \-relx .35 \-relheight .3 \-rely .35
.CE