diff options
author | dkf <dkf@noemail.net> | 2004-10-28 12:25:21 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2004-10-28 12:25:21 (GMT) |
commit | af301d0ca41c524e10e4cf25c5e31e8e11866c9e (patch) | |
tree | b0f115441846677d2289359c4cfc2c067a621eb5 /doc/raise.n | |
parent | d294a4d7b8c50ce9990f560bc01d688d63e1ab89 (diff) | |
download | tk-af301d0ca41c524e10e4cf25c5e31e8e11866c9e.zip tk-af301d0ca41c524e10e4cf25c5e31e8e11866c9e.tar.gz tk-af301d0ca41c524e10e4cf25c5e31e8e11866c9e.tar.bz2 |
More backporting of doc fixes
FossilOrigin-Name: f449787fb16a3a32463679ccd2c2f9451f5275e4
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 |