summaryrefslogtreecommitdiffstats
path: root/doc/ttk_sizegrip.n
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-10-26 20:13:21 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-10-26 20:13:21 (GMT)
commitc19dbf2054468ec3004041fef41a4b01a465eb54 (patch)
tree8355bd802491be2c1de242e0598914b0bb36fca5 /doc/ttk_sizegrip.n
parent7eb434043e09e028ca9af4dc444bcf3dd63b3c10 (diff)
downloadtk-c19dbf2054468ec3004041fef41a4b01a465eb54.zip
tk-c19dbf2054468ec3004041fef41a4b01a465eb54.tar.gz
tk-c19dbf2054468ec3004041fef41a4b01a465eb54.tar.bz2
* doc/*.1: Revert doc changes that broke
* doc/*.3: `make html` so we can get the release * doc/*.n: out the door.
Diffstat (limited to 'doc/ttk_sizegrip.n')
-rw-r--r--doc/ttk_sizegrip.n53
1 files changed, 29 insertions, 24 deletions
diff --git a/doc/ttk_sizegrip.n b/doc/ttk_sizegrip.n
index b48c7fb..7d04964 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.9 2007/10/26 12:25:38 dkf Exp $
+'\" RCS: @(#) $Id: ttk_sizegrip.n,v 1.10 2007/10/26 20:13:23 dgp Exp $
'\"
.so man.macros
.TH ttk_sizegrip n 8.5 Tk "Tk Themed Widget"
@@ -17,43 +17,48 @@ 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
+# Using pack:
pack [ttk::frame $top.statusbar] -side bottom -fill x
-pack [\fBttk::sizegrip\fR $top.statusbar.grip] -side right -anchor se
-.CE
-.PP
-Using \fBgrid\fR:
-.CS
-grid [\fBttk::sizegrip\fR $top.statusbar.grip] \e
- -row $lastRow -column $lastColumn -sticky se
+pack [ttk::sizegrip $top.statusbar.grip] -side right -anchor se
+
+# Using grid:
+grid [ttk::sizegrip $top.statusbar.grip] \
+ -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"
ttk_widget(n)
+
.SH "KEYWORDS"
widget, sizegrip, grow box