raise.n
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:2k
- '"
- '" Copyright (c) 1990 The Regents of the University of California.
- '" Copyright (c) 1994-1996 Sun Microsystems, Inc.
- '"
- '" 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.26.1 2004/10/28 12:25:22 dkf Exp $
- '"
- .so man.macros
- .TH raise n 3.3 Tk "Tk Built-In Commands"
- .BS
- '" Note: do not modify the .SH NAME line immediately below!
- .SH NAME
- raise - Change a window's position in the stacking order
- .SH SYNOPSIS
- fBraise fIwindow fR?fIaboveThisfR?
- .BE
- .SH DESCRIPTION
- .PP
- If the fIaboveThisfR argument is omitted then the command raises
- fIwindowfR so that it is above all of its siblings in the stacking
- order (it will not be obscured by any siblings and will obscure
- any siblings that overlap it).
- If fIaboveThisfR is specified then it must be the path name of
- a window that is either a sibling of fIwindowfR or the descendant
- of a sibling of fIwindowfR.
- In this case the fBraisefR command will insert
- fIwindowfR into the stacking order just above fIaboveThisfR
- (or the ancestor of fIaboveThisfR that is a sibling of fIwindowfR);
- this could end up either raising or lowering fIwindowfR.
- .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"]
- fBraisefR .b
- .CE
- .SH "SEE ALSO"
- lower(n)
- .SH KEYWORDS
- obscure, raise, stacking order