Debian Codegraph @

pod/pTk/Restack.pod

raw
1 # Copyright (c) 1990 The Regents of the University of California.
2 # Copyright (c) 1994-1996 Sun Microsystems, Inc.
3 # See the file "license.terms" for information on usage and redistribution
4 # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
5 #
6 #
7
8 =head1 NAME
9
10 Tk_RestackWindow - Change a window's position in the stacking order
11
12 =for category C Programming
13
14 =head1 SYNOPSIS
15
16 B<#include E<lt>tk.hE<gt>>
17
18 int
19 B<Tk_RestackWindow>(I<tkwin, aboveBelow, other>)
20
21 =head1 ARGUMENTS
22
23 =over 4
24
25 =item Tk_Window tkwin (in)
26
27 Token for window to restack.
28
29 =item int aboveBelow (in)
30
31 Indicates new position of I<tkwin> relative to I<other>;
32 must be B<Above> or B<Below>.
33
34 =item Tk_Window other (in)
35
36 I<Tkwin> will be repositioned just above or below this window.
37 Must be a sibling of I<tkwin> or a descendant of a sibling.
38 If NULL then I<tkwin> is restacked above or below all siblings.
39
40 =back
41
42 =head1 DESCRIPTION
43
44 B<Tk_RestackWindow> changes the stacking order of $widget relative
45 to its siblings.
46 If I<other> is specified as NULL then $widget is repositioned
47 at the top or bottom of its stacking order, depending on whether
48 I<aboveBelow> is B<Above> or B<Below>.
49 If I<other> has a non-NULL value then $widget is repositioned
50 just above or below I<other>.
51
52 The I<aboveBelow> argument must have one of the symbolic values
53 B<Above> or B<Below>.
54 Both of these values are defined by the include file E<lt>X11/Xlib.hE<gt>.
55
56 =head1 KEYWORDS
57
58 above, below, obscure, stacking order