summaryrefslogtreecommitdiffstats
path: root/doc/ttk_sizegrip.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-24 14:32:55 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-24 14:32:55 (GMT)
commita9b41e61dd1f2274961a88385d433a9bac66d44a (patch)
tree09cfb7c149cd2c0c95d126aa8764f569b3e42063 /doc/ttk_sizegrip.n
parent5d96c35c08ea64525de7b4ab99171bfcc0252142 (diff)
downloadtk-a9b41e61dd1f2274961a88385d433a9bac66d44a.zip
tk-a9b41e61dd1f2274961a88385d433a9bac66d44a.tar.gz
tk-a9b41e61dd1f2274961a88385d433a9bac66d44a.tar.bz2
Lots of improvements to look and feel of manual pages
Diffstat (limited to 'doc/ttk_sizegrip.n')
-rw-r--r--doc/ttk_sizegrip.n37
1 files changed, 17 insertions, 20 deletions
diff --git a/doc/ttk_sizegrip.n b/doc/ttk_sizegrip.n
index 708674f..6da57f4 100644
--- a/doc/ttk_sizegrip.n
+++ b/doc/ttk_sizegrip.n
@@ -4,7 +4,7 @@
'\" 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.7 2007/10/23 15:44:36 dkf Exp $
+'\" RCS: @(#) $Id: ttk_sizegrip.n,v 1.8 2007/10/24 14:32:59 dkf Exp $
'\"
.so man.macros
.TH ttk_sizegrip n 8.5 Tk "Tk Themed Widget"
@@ -17,43 +17,40 @@ ttk_sizegrip \- Bottom-right corner resize widget
.BE
.SH DESCRIPTION
-A \fBttk::sizegrip\fR widget (also known as a \fIgrow box\fR)
-allows the user to resize the containing toplevel window
-by pressing and dragging the grip.
+A \fBttk::sizegrip\fR widget (also known as a \fIgrow box\fR) allows the user
+to resize the containing toplevel window by pressing and dragging the grip.
.SO
-\-class \-cursor \-state \-style
-\-takefocus
+\-class \-cursor \-state
+\-style \-takefocus
.SE
.SH "WIDGET COMMAND"
-Sizegrip widgets support the standard
-\fBcget\fR, \fBconfigure\fR, \fBinstate\fR, and \fBstate\fR
-methods. No other widget methods are used.
+Sizegrip widgets support the standard \fBcget\fR, \fBconfigure\fR,
+\fBinstate\fR, and \fBstate\fR methods. No other widget methods are used.
.SH "PLATFORM-SPECIFIC NOTES"
-On Mac OSX, toplevel windows automatically include a built-in
-size grip by default.
-Adding an \fBttk::sizegrip\fR there is harmless, since
-the built-in grip will just mask the widget.
+On Mac OSX, toplevel windows automatically include a built-in size grip by
+default. Adding an \fBttk::sizegrip\fR there is harmless, since the built-in
+grip will just mask the widget.
.SH EXAMPLES
.PP
Using \fBpack\fR:
.CS
pack [ttk::frame $top.statusbar] -side bottom -fill x
-pack [ttk::sizegrip $top.statusbar.grip] -side right -anchor se
+pack [\fBttk::sizegrip\fR $top.statusbar.grip] -side right -anchor se
.CE
.PP
Using \fBgrid\fR:
.CS
-grid [ttk::sizegrip $top.statusbar.grip] \e
+grid [\Bttk::sizegrip\fR $top.statusbar.grip] \e
-row $lastRow -column $lastColumn -sticky se
# ... optional: add vertical scrollbar in $lastColumn,
# ... optional: add horizontal scrollbar in $lastRow
.CE
.SH "BUGS"
-If the containing toplevel's position was specified
-relative to the right or bottom of the screen
-(e.g., \fB[wm geometry ... \fIw\fBx\fIh\fB-\fIx\fB-\fIy\fB]\fR
-instead of \fB[wm geometry ... \fIw\fBx\fIh\fB+\fIx\fB+\fIy\fB]\fR),
-the sizegrip widget will not resize the window.
+If the containing toplevel's position was specified relative to the right or
+bottom of the screen (e.g., \fB[wm geometry ...
+\fIw\fBx\fIh\fB\-\fIx\fB\-\fIy\fB]\fR instead of \fB[wm geometry ...
+\fIw\fBx\fIh\fB+\fIx\fB+\fIy\fB]\fR), the sizegrip widget will not resize the
+window.
.PP
ttk::sizegrip widgets only support "southeast" resizing.
.SH "SEE ALSO"