diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-28 12:25:22 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-28 12:25:22 (GMT) |
commit | 6eca1b073cf6f27c3170f72e1a416d6fe6cc8703 (patch) | |
tree | b0f115441846677d2289359c4cfc2c067a621eb5 /doc/raise.n | |
parent | 2bd85cbab370268321d9634c72bc7a66df1de397 (diff) | |
download | tk-6eca1b073cf6f27c3170f72e1a416d6fe6cc8703.zip tk-6eca1b073cf6f27c3170f72e1a416d6fe6cc8703.tar.gz tk-6eca1b073cf6f27c3170f72e1a416d6fe6cc8703.tar.bz2 |
More backporting of doc fixes
Diffstat (limited to 'doc/raise.n')
-rw-r--r-- | doc/raise.n | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/raise.n b/doc/raise.n index 534aa12..1a14049 100644 --- a/doc/raise.n +++ b/doc/raise.n @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: raise.n,v 1.2 1998/09/14 18:22:59 stanton Exp $ +'\" RCS: @(#) $Id: raise.n,v 1.2.26.1 2004/10/28 12:25:22 dkf Exp $ '\" .so man.macros .TH raise n 3.3 Tk "Tk Built-In Commands" @@ -30,9 +30,22 @@ In this case the \fBraise\fR command will insert \fIwindow\fR into the stacking order just above \fIaboveThis\fR (or the ancestor of \fIaboveThis\fR that is a sibling of \fIwindow\fR); this could end up either raising or lowering \fIwindow\fR. +.SH EXAMPLE +Make a button appear to be in a sibling frame that was created after +it. This is is often necessary when building GUIs in the style where +you create your activity widgets first before laying them out on the +display: +.CS +button .b -text "Hi there!" +pack [frame .f -background blue] +pack [label .f.l1 -text "This is above"] +pack .b -in .f +pack [label .f.l2 -text "This is below"] +\fBraise\fR .b +.CE .SH "SEE ALSO" -lower +lower(n) .SH KEYWORDS obscure, raise, stacking order |