b6bda6f655ff975a4d456d1160bd3484b8f8a442
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / src / Widgets / WXawTree.h
1 /*
2  * $XConsortium: WXawTree.h /main/3 1996/06/11 16:46:45 cde-hal $
3  *
4  * Copyright (c) 1991 HaL Computer Systems, Inc.  All rights reserved.
5  * UNPUBLISHED -- rights reserved under the Copyright Laws of the United
6  * States.  Use of a copyright notice is precautionary only and does not
7  * imply publication or disclosure.
8  * 
9  * This software contains confidential information and trade secrets of HaL
10  * Computer Systems, Inc.  Use, disclosure, or reproduction is prohibited
11  * without the prior express written permission of HaL Computer Systems, Inc.
12  * 
13  *                         RESTRICTED RIGHTS LEGEND
14  * Use, duplication, or disclosure by the Government is subject to
15  * restrictions as set forth in subparagraph (c)(l)(ii) of the Rights in
16  * Technical Data and Computer Software clause at DFARS 252.227-7013.
17  *                        HaL Computer Systems, Inc.
18  *                  1315 Dell Avenue, Campbell, CA  95008
19  * 
20  */
21
22 // This code is automatically generated by hand in -*- C++ -*-
23 #ifndef _WXawTree_h
24 #define _WXawTree_h
25
26 #include <WWL/WConstraint.h>
27 #include <X11/Xaw/Tree.h>
28
29 class WXawTree : public WConstraint {
30 public :
31   DEFINE_INIT (WXawTree, WConstraint, treeWidgetClass)
32
33   DEFINE_GETTER_SETTER (AutoReconfigure, Boolean, XtNautoReconfigure)
34   DEFINE_GETTER_SETTER (Foreground, Pixel, XtNforeground)
35   DEFINE_GETTER_SETTER (Gravity, XtGravity, XtNgravity)
36   DEFINE_GETTER_SETTER (HSpace, Dimension, XtNhSpace)
37   DEFINE_GETTER_SETTER (LineWidth, Dimension, XtNlineWidth)
38   DEFINE_GETTER_SETTER (VSpace, Dimension, XtNvSpace)
39
40   void ForceLayout () const { XawTreeForceLayout (widget); }
41 };
42
43 class CXawTree : public CConstraint {
44 public:
45   DEFINE_CINIT(CXawTree, CConstraint, treeWidgetClass)
46
47   DEFINE_GETTER_SETTER (TreeGC, GC, XtNtreeGC)
48   DEFINE_GETTER_SETTER (TreeParent, Widget, XtNtreeParent)
49 };
50
51 #define NULLWXawTree  WXawTree((Widget)0)
52
53 #endif /* _WXawTree_h */
54 /* DO NOT ADD ANY LINES AFTER THIS #endif */