summaryrefslogtreecommitdiffstats
path: root/doc/ttk_sizegrip.n
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2007-11-01 10:59:40 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2007-11-01 10:59:40 (GMT)
commitcbf2422b537b141165608ea53fb026ecc858fa82 (patch)
treea9fdb782fb5a267cd0d5385c6d95aae6bd26fe13 /doc/ttk_sizegrip.n
parentf6233281ced55f57db79c420459c95eb344af351 (diff)
downloadtk-cbf2422b537b141165608ea53fb026ecc858fa82.zip
tk-cbf2422b537b141165608ea53fb026ecc858fa82.tar.gz
tk-cbf2422b537b141165608ea53fb026ecc858fa82.tar.bz2
Make documentation use the name that scripts use as much as possible.
[Bug 1640073]
Diffstat (limited to 'doc/ttk_sizegrip.n')
-rw-r--r--doc/ttk_sizegrip.n18
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/ttk_sizegrip.n b/doc/ttk_sizegrip.n
index 0b4e371..578a405 100644
--- a/doc/ttk_sizegrip.n
+++ b/doc/ttk_sizegrip.n
@@ -4,14 +4,13 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: ttk_sizegrip.n,v 1.12 2007/10/30 21:29:59 dkf Exp $
+'\" RCS: @(#) $Id: ttk_sizegrip.n,v 1.13 2007/11/01 10:59:43 dkf Exp $
'\"
.so man.macros
-.TH ttk_sizegrip n 8.5 Tk "Tk Themed Widget"
+.TH ttk::sizegrip n 8.5 Tk "Tk Themed Widget"
.BS
-.\" Use _ instead of :: as the name becomes a filename on install
.SH NAME
-ttk_sizegrip \- Bottom-right corner resize widget
+ttk::sizegrip \- Bottom-right corner resize widget
.SH SYNOPSIS
\fBttk::sizegrip\fR \fIpathName \fR?\fIoptions\fR?
.BE
@@ -33,12 +32,15 @@ size grip by default.
Adding a \fBttk::sizegrip\fR there is harmless, since
the built-in grip will just mask the widget.
.SH EXAMPLES
+.PP
+Using pack:
.CS
-# Using pack:
pack [ttk::frame $top.statusbar] \-side bottom \-fill x
pack [\fBttk::sizegrip\fR $top.statusbar.grip] \-side right \-anchor se
-
-# Using grid:
+.CE
+.PP
+Using grid:
+.CS
grid [\fBttk::sizegrip\fR $top.statusbar.grip] \e
\-row $lastRow \-column $lastColumn \-sticky se
# ... optional: add vertical scrollbar in $lastColumn,
@@ -57,6 +59,6 @@ the sizegrip widget will not resize the window.
.QW southeast
resizing.
.SH "SEE ALSO"
-ttk_widget(n)
+ttk::widget(n)
.SH "KEYWORDS"
widget, sizegrip, grow box