diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2007-10-30 21:29:58 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2007-10-30 21:29:58 (GMT) |
commit | 5cd65a75b0ffc07acb328d4c3d9d54730a046d33 (patch) | |
tree | 7090d93b57cff685ebe7ccea984672560fa3b271 /doc/ttk_sizegrip.n | |
parent | ec555a1337a84a1d735bb6dcb61f22448c7b3d2a (diff) | |
download | tk-5cd65a75b0ffc07acb328d4c3d9d54730a046d33.zip tk-5cd65a75b0ffc07acb328d4c3d9d54730a046d33.tar.gz tk-5cd65a75b0ffc07acb328d4c3d9d54730a046d33.tar.bz2 |
More documentation improvements
Diffstat (limited to 'doc/ttk_sizegrip.n')
-rw-r--r-- | doc/ttk_sizegrip.n | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/ttk_sizegrip.n b/doc/ttk_sizegrip.n index a300896..0b4e371 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.11 2007/10/29 16:04:14 dkf Exp $ +'\" RCS: @(#) $Id: ttk_sizegrip.n,v 1.12 2007/10/30 21:29:59 dkf Exp $ '\" .so man.macros .TH ttk_sizegrip n 8.5 Tk "Tk Themed Widget" @@ -30,16 +30,16 @@ 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 +Adding a \fBttk::sizegrip\fR there is harmless, since the built-in grip will just mask the widget. .SH EXAMPLES .CS # Using pack: 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 # Using grid: -grid [ttk::sizegrip $top.statusbar.grip] \e +grid [\fBttk::sizegrip\fR $top.statusbar.grip] \e \-row $lastRow \-column $lastColumn \-sticky se # ... optional: add vertical scrollbar in $lastColumn, # ... optional: add horizontal scrollbar in $lastRow @@ -47,11 +47,13 @@ grid [ttk::sizegrip $top.statusbar.grip] \e .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), +(e.g., +.QW "\fBwm geometry ... \fIw\fBx\fIh\fB\-\fIx\fB\-\fIy\fR" +instead of +.QW "\fBwm geometry ... \fIw\fBx\fIh\fB+\fIx\fB+\fIy\fR" ), the sizegrip widget will not resize the window. .PP -ttk::sizegrip widgets only support +\fBttk::sizegrip\fR widgets only support .QW southeast resizing. .SH "SEE ALSO" |