home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / osi / isode / vmsisode / vmsisode80_tar.Z / vmsisode80_tar / sockit / gccinclude / x11 / shellp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-04-24  |  8.4 KB  |  304 lines

  1. /*  DEC/CMS REPLACEMENT HISTORY, Element SHELLP.H */
  2. /*   6    31-MAR-1988 12:05:21 TREGGIARI "MARCH 30 INTRINSICS" */
  3. /*   5    24-MAR-1988 16:12:11 TREGGIARI "Replace with completely new version" */
  4. /*  *4    27-FEB-1988 18:25:38 GEORGE "Add copyright" */
  5. /*  *3     7-JAN-1988 13:08:26 TREGGIARI "Replace with completely new version" */
  6. /*  *2     5-JAN-1988 16:00:42 TREGGIARI "Replace with completely new version" */
  7. /*  *1    18-DEC-1987 14:17:25 TREGGIARI "Initial Entry" */
  8. /*  DEC/CMS REPLACEMENT HISTORY, Element SHELLP.H */
  9. /*
  10. * $Header: ShellP.h,v 6.8 88/01/06 14:39:12 asente Exp $
  11. */
  12.  
  13. /*
  14. *****************************************************************************
  15. **                                                                          *
  16. **                         COPYRIGHT (c) 1988 BY                            *
  17. **             DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.                *
  18. **               ALL RIGHTS RESERVED                              *
  19. **                                                                          *
  20. **  THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED  *
  21. **  ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH  LICENSE AND WITH THE  *
  22. **  INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR  ANY  OTHER  *
  23. **  COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY  *
  24. **  OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY  *
  25. **  TRANSFERRED.                                                            *
  26. **                                                                          *
  27. **  THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE  WITHOUT  NOTICE  *
  28. **  AND  SHOULD  NOT  BE  CONSTRUED  AS  A COMMITMENT BY DIGITAL EQUIPMENT  *
  29. **  CORPORATION.                                                            *
  30. **                                                                          *
  31. **  DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR  RELIABILITY  OF  ITS  *
  32. **  SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.                 *
  33. **                                                                          *
  34. *****************************************************************************
  35. **++
  36. **  FACILITY:
  37. **
  38. **    < to be supplied >
  39. **
  40. **  ABSTRACT:
  41. **
  42. **    < to be supplied >
  43. **
  44. **  ENVIRONMENT:
  45. **
  46. **    < to be supplied >
  47. **
  48. **  MODIFICATION HISTORY:
  49. **
  50. **    < to be supplied >
  51. **
  52. **--
  53. **/
  54.  
  55. /* 
  56.  * ShellP.h - Private definitions for Shell widget
  57.  * 
  58.  * Author:    Paul Asente
  59.  *         Digital Equipment Corporation
  60.  *         Western Software Laboratory
  61.  * Date:    Thu Dec 3, 1987
  62.  */
  63.  
  64. #ifndef _XtShellPrivate_h
  65. #define _XtShellPrivate_h
  66. #ifndef VMS
  67. #include <X11/Xutil.h>
  68. #else
  69. #include <decw$include/Xutil.h>
  70. #endif VMS
  71.  
  72. /* *****
  73.  * ***** VendorP.h is included later on; it needs fields defined in the first
  74.  * ***** part of this header file
  75.  * *****
  76.  */
  77.  
  78. /***********************************************************************
  79.  *
  80.  * Shell Widget Private Data
  81.  *
  82.  ***********************************************************************/
  83.  
  84. /* New fields for the Shell widget class record */
  85.  
  86. typedef struct {int foo;} ShellClassPart;
  87.  
  88. typedef struct _ShellClassRec {
  89.       CoreClassPart      core_class;
  90.     CompositeClassPart composite_class;
  91.     ShellClassPart  shell_class;
  92. } ShellClassRec;
  93.  
  94. globalref ShellClassRec shellClassRec;
  95.  
  96. /* New fields for the shell widget */
  97.  
  98. typedef struct {
  99.     char       *geostr;
  100.     XtCreatePopupChildProc    create_popup_child;
  101.     XtGrabKind    grab_kind;
  102.     Boolean        spring_loaded;
  103.     Boolean        popped_up;
  104.     Boolean        resizeable;
  105.     Boolean        clientspecified;
  106.     Boolean        save_under;
  107.     Boolean        override_redirect;
  108.  
  109.     XtCallbackList popup_callback;
  110.     XtCallbackList popdown_callback;
  111. } ShellPart;
  112.  
  113. typedef  struct {
  114.     CorePart     core;
  115.     CompositePart     composite;
  116.     ShellPart     shell;
  117. } ShellRec, *ShellWidget;
  118.  
  119. /***********************************************************************
  120.  *
  121.  * OverrideShell Widget Private Data
  122.  *
  123.  ***********************************************************************/
  124.  
  125. /* New fields for the OverrideShell widget class record */
  126.  
  127. typedef struct {int foo;} OverrideShellClassPart;
  128.  
  129. typedef struct _OverrideShellClassRec {
  130.       CoreClassPart      core_class;
  131.     CompositeClassPart composite_class;
  132.     ShellClassPart  shell_class;
  133.     OverrideShellClassPart  override_shell_class;
  134. } OverrideShellClassRec;
  135.  
  136. globalref OverrideShellClassRec overrideShellClassRec;
  137.  
  138. /* No new fields for the override shell widget */
  139.  
  140. typedef struct {int frabjous;} OverrideShellPart;
  141.  
  142. typedef  struct {
  143.     CorePart     core;
  144.     CompositePart     composite;
  145.     ShellPart     shell;
  146.     OverrideShellPart override;
  147. } OverrideShellRec, *OverrideShellWidget;
  148.  
  149. /***********************************************************************
  150.  *
  151.  * WMShell Widget Private Data
  152.  *
  153.  ***********************************************************************/
  154.  
  155. /* New fields for the WMShell widget class record */
  156.  
  157. typedef struct {int foo;} WMShellClassPart;
  158.  
  159. typedef struct _WMShellClassRec {
  160.       CoreClassPart      core_class;
  161.     CompositeClassPart composite_class;
  162.     ShellClassPart  shell_class;
  163.     WMShellClassPart wm_shell_class;
  164. } WMShellClassRec;
  165.  
  166. globalref WMShellClassRec wmShellClassRec;
  167.  
  168. /* New fields for the WM shell widget */
  169.  
  170. typedef struct {
  171.     char       *title;
  172.     int         wmTimeout;
  173.     Boolean        waitforwm;
  174.     Boolean        transient;
  175.     XSizeHints  sizehints;
  176.     XWMHints    wmhints;
  177. } WMShellPart;
  178.  
  179. typedef  struct {
  180.     CorePart     core;
  181.     CompositePart     composite;
  182.     ShellPart     shell;
  183.     WMShellPart    wm;
  184. } WMShellRec, *WMShellWidget;
  185.  
  186. #include "VendorP.h"
  187.  
  188. /***********************************************************************
  189.  *
  190.  * TransientShell Widget Private Data
  191.  *
  192.  ***********************************************************************/
  193.  
  194. /* New fields for the TransientShell widget class record */
  195.  
  196. typedef struct {int foo;} TransientShellClassPart;
  197.  
  198. typedef struct _TransientShellClassRec {
  199.       CoreClassPart      core_class;
  200.     CompositeClassPart composite_class;
  201.     ShellClassPart  shell_class;
  202.     WMShellClassPart   wm_shell_class;
  203.     VendorShellClassPart vendor_shell_class;
  204.     TransientShellClassPart transient_shell_class;
  205. } TransientShellClassRec;
  206.  
  207. globalref TransientShellClassRec transientShellClassRec;
  208.  
  209. /* New fields for the transient shell widget */
  210.  
  211. typedef struct {int brillig;} TransientShellPart;
  212.  
  213. typedef  struct {
  214.     CorePart     core;
  215.     CompositePart     composite;
  216.     ShellPart     shell;
  217.     WMShellPart    wm;
  218.     VendorShellPart    vendor;
  219.     TransientShellPart transient;    
  220. } TransientShellRec, *TransientShellWidget;
  221.  
  222. /***********************************************************************
  223.  *
  224.  * TopLevelShell Widget Private Data
  225.  *
  226.  ***********************************************************************/
  227.  
  228. /* New fields for the TopLevelShell widget class record */
  229.  
  230. typedef struct {int foo;} TopLevelShellClassPart;
  231.  
  232. typedef struct _TopLevelShellClassRec {
  233.       CoreClassPart      core_class;
  234.     CompositeClassPart composite_class;
  235.     ShellClassPart  shell_class;
  236.     WMShellClassPart   wm_shell_class;
  237.     VendorShellClassPart vendor_shell_class;
  238.     TopLevelShellClassPart top_level_shell_class;
  239. } TopLevelShellClassRec;
  240.  
  241. globalref TopLevelShellClassRec topLevelShellClassRec;
  242.  
  243. /* New fields for the top level shell widget */
  244.  
  245. typedef struct {
  246.     char       *icon_name;
  247.     Boolean        iconic;
  248. } TopLevelShellPart;
  249.  
  250. typedef  struct {
  251.     CorePart     core;
  252.     CompositePart     composite;
  253.     ShellPart     shell;
  254.     WMShellPart    wm;
  255.     VendorShellPart    vendor;
  256.     TopLevelShellPart topLevel;
  257. } TopLevelShellRec, *TopLevelShellWidget;
  258.  
  259. /***********************************************************************
  260.  *
  261.  * ApplicationShell Widget Private Data
  262.  *
  263.  ***********************************************************************/
  264.  
  265. /* New fields for the ApplicationShell widget class record */
  266.  
  267. typedef struct {int foo;} ApplicationShellClassPart;
  268.  
  269. typedef struct _ApplicationShellClassRec {
  270.       CoreClassPart      core_class;
  271.     CompositeClassPart composite_class;
  272.     ShellClassPart  shell_class;
  273.     WMShellClassPart   wm_shell_class;
  274.     VendorShellClassPart vendor_shell_class;
  275.     TopLevelShellClassPart top_level_shell_class;
  276.     ApplicationShellClassPart application_shell_class;
  277. } ApplicationShellClassRec;
  278.  
  279. globalref ApplicationShellClassRec applicationShellClassRec;
  280.  
  281. /* New fields for the application shell widget */
  282.  
  283. typedef struct {
  284.     int        argc;
  285.     char      **argv;
  286. } ApplicationShellPart;
  287.  
  288. typedef  struct {
  289.     CorePart     core;
  290.     CompositePart     composite;
  291.     ShellPart     shell;
  292.     WMShellPart    wm;
  293.     VendorShellPart    vendor;
  294.     TopLevelShellPart topLevel;
  295.     ApplicationShellPart application;
  296. } ApplicationShellRec, *ApplicationShellWidget;
  297.  
  298.  
  299.  
  300. Atom WM_CONFIGURE_DENIED;
  301. Atom WM_MOVED;
  302.  
  303. #endif  _XtShellPrivate_h
  304.