Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / wwl / include / WWL / WXmScrolledWindow.h
1 /*
2  * $XConsortium: WXmScrolledWindow.h /main/3 1996/06/11 17:02:07 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 in -*- C++ -*-
23 #ifndef WXmScrolledWindow_h
24 #define WXmScrolledWindow_h
25
26 #include "WXmManager.h"
27 #include "WXmScrollBar.h"
28 #include <Xm/ScrolledW.h>
29
30 class WXmScrolledWindow : public WXmManager {
31 public :
32    DEFINE_INIT (WXmScrolledWindow, WXmManager, xmScrolledWindowWidgetClass)
33    DEFINE_GETTER_SETTER (HorizontalScrollBar,Widget,"horizontalScrollBar")
34    DEFINE_GETTER_SETTER (VerticalScrollBar,Widget,"verticalScrollBar")
35    DEFINE_GETTER_SETTER (WorkWindow,Widget,"workWindow")
36    DEFINE_GETTER_SETTER (ClipWindow,Widget,"clipWindow")
37    DEFINE_GETTER_SETTER (ScrollingPolicy,unsigned char,"scrollingPolicy")
38    DEFINE_GETTER_SETTER (VisualPolicy,unsigned char,"visualPolicy")
39    DEFINE_GETTER_SETTER (ScrollBarDisplayPolicy,unsigned char,"scrollBarDisplayPolicy")
40    DEFINE_GETTER_SETTER (ScrollBarPlacement,unsigned char,"scrollBarPlacement")
41    DEFINE_GETTER_SETTER (ScrolledWindowMarginWidth,short,"scrolledWindowMarginWidth")
42    DEFINE_GETTER_SETTER (ScrolledWindowMarginHeight,short,"scrolledWindowMarginHeight")
43    DEFINE_GETTER_SETTER (Spacing,Dimension,"spacing")
44    DEFINE_GETTER_SETTER (ShadowThickness,short,"shadowThickness")
45    inline void SetAreas(WXmScrollBar hsb, WXmScrollBar vsb, WObject work) const
46    {
47       XmScrolledWindowSetAreas (widget, (Widget)hsb, (Widget)vsb, (Widget)work);
48    }
49 };
50
51 #define NULLWXmScrolledWindow           WXmScrolledWindow((Widget)0)
52
53 class CXmScrolledWindow : public CXmManager {
54 public :
55    DEFINE_CINIT(CXmScrolledWindow, CXmManager, xmScrolledWindowWidgetClass)
56 };
57
58 #endif