summaryrefslogtreecommitdiffstats
path: root/doc/ttk_sizegrip.n
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2007-10-23 15:44:35 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2007-10-23 15:44:35 (GMT)
commit80d0752f3fcd6ebbde4f911d8d9f8fc3cf1eb3db (patch)
tree5eda8228f68eff81bf0c9d40d5b70ae6d20b6d5e /doc/ttk_sizegrip.n
parent5bba7451afec0fd1e96cc7fd502fc43e48d6c79b (diff)
downloadtk-80d0752f3fcd6ebbde4f911d8d9f8fc3cf1eb3db.zip
tk-80d0752f3fcd6ebbde4f911d8d9f8fc3cf1eb3db.tar.gz
tk-80d0752f3fcd6ebbde4f911d8d9f8fc3cf1eb3db.tar.bz2
Rendering-with-groff GOOBE.
Diffstat (limited to 'doc/ttk_sizegrip.n')
-rw-r--r--doc/ttk_sizegrip.n16
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/ttk_sizegrip.n b/doc/ttk_sizegrip.n
index ad293f4..708674f 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.6 2007/10/22 14:33:13 dkf Exp $
+'\" RCS: @(#) $Id: ttk_sizegrip.n,v 1.7 2007/10/23 15:44:36 dkf Exp $
'\"
.so man.macros
.TH ttk_sizegrip n 8.5 Tk "Tk Themed Widget"
@@ -24,30 +24,30 @@ by pressing and dragging the grip.
\-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.
-
.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.
.SH EXAMPLES
+.PP
+Using \fBpack\fR:
.CS
-# Using pack:
pack [ttk::frame $top.statusbar] -side bottom -fill x
pack [ttk::sizegrip $top.statusbar.grip] -side right -anchor se
-
-# Using grid:
+.CE
+.PP
+Using \fBgrid\fR:
+.CS
grid [ttk::sizegrip $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
@@ -56,9 +56,7 @@ 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