Box.h

Go to the documentation of this file.
00001 /*
00002 * $XConsortium: Box.h,v 1.22 94/04/17 20:11:55 rws Exp $
00003 */
00004 
00005 
00006 /***********************************************************
00007 
00008 Copyright (c) 1987, 1988  X Consortium
00009 
00010 Permission is hereby granted, free of charge, to any person obtaining a copy
00011 of this software and associated documentation files (the "Software"), to deal
00012 in the Software without restriction, including without limitation the rights
00013 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00014 copies of the Software, and to permit persons to whom the Software is
00015 furnished to do so, subject to the following conditions:
00016 
00017 The above copyright notice and this permission notice shall be included in
00018 all copies or substantial portions of the Software.
00019 
00020 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00021 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00022 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
00023 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00024 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00025 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00026 
00027 Except as contained in this notice, the name of the X Consortium shall not be
00028 used in advertising or otherwise to promote the sale, use or other dealings
00029 in this Software without prior written authorization from the X Consortium.
00030 
00031 
00032 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
00033 
00034                         All Rights Reserved
00035 
00036 Permission to use, copy, modify, and distribute this software and its 
00037 documentation for any purpose and without fee is hereby granted, 
00038 provided that the above copyright notice appear in all copies and that
00039 both that copyright notice and this permission notice appear in 
00040 supporting documentation, and that the name of Digital not be
00041 used in advertising or publicity pertaining to distribution of the
00042 software without specific, written prior permission.  
00043 
00044 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
00045 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
00046 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
00047 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
00048 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
00049 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
00050 SOFTWARE.
00051 
00052 ******************************************************************/
00053 
00054 #ifndef _XawBox_h
00055 #define _XawBox_h
00056 
00057 #include <X11/Xmu/Converters.h>
00058 
00059 /***********************************************************************
00060  *
00061  * Box Widget (subclass of CompositeClass)
00062  *
00063  ***********************************************************************/
00064 
00065 /* Parameters:
00066 
00067  Name                Class              RepType         Default Value
00068  ----                -----              -------         -------------
00069  background          Background         Pixel           XtDefaultBackground
00070  border              BorderColor        Pixel           XtDefaultForeground
00071  borderWidth         BorderWidth        Dimension       1
00072  destroyCallback     Callback           Pointer         NULL
00073  hSpace              HSpace             Dimension       4
00074  height              Height             Dimension       0
00075  mappedWhenManaged   MappedWhenManaged  Boolean         True
00076  orientation         Orientation        XtOrientation   vertical
00077  vSpace              VSpace             Dimension       4
00078  width               Width              Dimension       0
00079  x                   Position           Position        0
00080  y                   Position           Position        0
00081 
00082 */
00083 
00084 
00085 /* New fields */
00086 #ifndef _XtStringDefs_h_
00087 #define XtNhSpace "hSpace"
00088 #define XtNvSpace "vSpace"
00089 #endif
00090 
00091 /* Class record constants */
00092 
00093 extern WidgetClass boxWidgetClass;
00094 
00095 typedef struct _BoxClassRec *BoxWidgetClass;
00096 typedef struct _BoxRec      *BoxWidget;
00097 
00098 #endif /* _XawBox_h */

Generated on Sun Mar 4 15:03:55 2007 for Scilab [trunk] by  doxygen 1.5.1