home *** CD-ROM | disk | FTP | other *** search
/ IRIS Development Option 6.2 / IRIS_Development_Option_6.2_814-0478-001.iso / dist / motif_dev.idb / usr / include / Sgm / Column.h.z / Column.h
C/C++ Source or Header  |  1996-03-14  |  3KB  |  77 lines

  1. /*******************************************************************************
  2. ///////   Copyright 1992, Silicon Graphics, Inc.  All Rights Reserved.   ///////
  3. //                                                                            //
  4. // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;     //
  5. // the contents of this file may not be disclosed to third parties, copied    //
  6. // or duplicated in any form, in whole or in part, without the prior written  //
  7. // permission of Silicon Graphics, Inc.                                       //
  8. //                                                                            //
  9. // RESTRICTED RIGHTS LEGEND:                                                  //
  10. // Use,duplication or disclosure by the Government is subject to restrictions //
  11. // as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data     //
  12. // and Computer Software clause at DFARS 252.227-7013, and/or in similar or   //
  13. // successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -    //
  14. // rights reserved under the Copyright Laws of the United States.             //
  15. //                                                                            //
  16. *******************************************************************************/
  17.  
  18. #ifndef _SgColumn_h
  19. #define _SgColumn_h
  20.  
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26. /*  Column Widget  */
  27.  
  28. externalref WidgetClass sgColumnWidgetClass;
  29.  
  30. typedef struct _SgColumnClassRec * SgColumnWidgetClass;
  31. typedef struct _SgColumnRec      * SgColumnWidget;
  32.  
  33. /* ifndef for Fast Subclassing  */
  34.  
  35. #ifndef SgIsColumn
  36. #define SgIsColumn(w)    XtIsSubclass(w, sgColumnWidgetClass)
  37. #endif  /* SgIsColumn */
  38.  
  39. /********    Public Function Declarations    ********/
  40. #ifdef _NO_PROTO
  41.  
  42. extern Widget SgCreateColumn() ;
  43. #else
  44. extern Widget SgCreateColumn( 
  45.                         Widget parent,
  46.                         char *name,
  47.                         ArgList arglist,
  48.                         Cardinal argcount) ;
  49.  
  50. #endif /* _NO_PROTO */
  51. /********    End Public Function Declarations    ********/
  52.  
  53.  
  54. #define SgNcaptionLabelString                      "captionLabelString"
  55.  
  56. #define SgNcaptionHorizAlignment      "captionHorizAlignment"
  57. #define SgNcaptionVertAlignment       "captionVertAlignment"
  58. #define SgNcolumnHorizAlignment       "columnHorizAlignment"
  59. #define SgRColumnAlignment            "ColumnAlignment"
  60. #define SgRCaptionAlignment           "CaptionAlignment"
  61.  
  62. enum{    SgALIGNMENT_JUSTIFY=3
  63.     } ;
  64.  
  65. enum{    SgALIGNMENT_TOP, 
  66.     SgALIGNMENT_BOTTOM=2
  67.     } ;
  68.  
  69. #ifdef __cplusplus
  70. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  71. #endif
  72.  
  73.  
  74.  
  75. #endif /* _SgColumn_h */
  76. /* DON'T ADD ANYTHING AFTER THIS #endif */
  77.