Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / wwl / src / WComposite.C
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 //
24 //      XTV             (c) Copyright LRI 1990
25 //
26 //      Imakefile
27 //
28 //      $XConsortium: WComposite.cc /main/3 1996/06/11 17:03:27 cde-hal $
29 //      $CurLog$        (Log at end)
30 //
31
32 //#include <stream.h>
33
34 #ifndef _XtintrinsicP_h
35 #include <X11/IntrinsicP.h>
36 #endif
37
38 #ifndef _XtCompositeP_h
39 #include <X11/CompositeP.h>
40 #endif
41
42 #ifndef _WComposite_h_
43 #include <WWL/WComposite.h>
44 #endif
45
46 void
47 WComposite :: ManageChildren (void) const
48 {
49         CompositeWidget cw = (CompositeWidget)widget;
50
51         XtManageChildren(cw->composite.children, cw->composite.num_children);
52 }
53
54 void
55 WComposite :: UnmanageChildren (void) const
56 {
57         CompositeWidget cw = (CompositeWidget)widget;
58
59         XtUnmanageChildren(cw->composite.children, cw->composite.num_children);
60 }
61
62 /*      $Log$
63  * Revision 1.1.1.1  1992/01/30  21:19:40  greg
64  * Initial Checkin
65  *
66  * Revision 1.1  1992/01/30  21:19:27  greg
67  * Initial revision
68  *
69  * Revision 1.1.1.1  1992/01/27  21:39:21  greg
70  * Initial Checkin
71  *
72  * Revision 1.1  1992/01/27  21:39:15  greg
73  * Initial revision
74  *
75 //Revision 1.5  91/02/26  16:14:12  jdf
76 //Cosmetics for the doc machine.
77 //
78 //Revision 1.4  91/02/25  15:21:03  jdf
79 //Added some const attributes.
80 //
81 //Revision 1.3  90/08/09  16:14:24  jdf
82 //Modified for New names generated by GenWIDGET
83 //
84 //Revision 1.2  90/07/05  19:33:12  jdf
85 //Some syntax bugs fixed.
86 //
87 //Revision 1.1  90/07/05  19:14:11  jdf
88 //Initial revision
89 // */