summaryrefslogtreecommitdiffstats
path: root/doc/ttk_sizegrip.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-11-01 10:59:40 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-11-01 10:59:40 (GMT)
commit83f6db972b3cbb518343cf41b23e9bf959339e8b (patch)
treea9fdb782fb5a267cd0d5385c6d95aae6bd26fe13 /doc/ttk_sizegrip.n
parent3ab66bf90c3de1b2ffe2c7eef83f56e189c02337 (diff)
downloadtk-83f6db972b3cbb518343cf41b23e9bf959339e8b.zip
tk-83f6db972b3cbb518343cf41b23e9bf959339e8b.tar.gz
tk-83f6db972b3cbb518343cf41b23e9bf959339e8b.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