1 /* $Xorg: Shell.ht,v 1.5 2001/02/09 02:03:59 xorgcvs Exp $ */
3 /***********************************************************
5 Copyright 1987, 1988, 1994, 1998 The Open Group
7 Permission to use, copy, modify, distribute, and sell this software and its
8 documentation for any purpose is hereby granted without fee, provided that
9 the above copyright notice appear in all copies and that both that
10 copyright notice and this permission notice appear in supporting
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 Except as contained in this notice, the name of The Open Group shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from The Open Group.
28 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
32 Permission to use, copy, modify, and distribute this software and its
33 documentation for any purpose and without fee is hereby granted,
34 provided that the above copyright notice appear in all copies and that
35 both that copyright notice and this permission notice appear in
36 supporting documentation, and that the name of Digital not be
37 used in advertising or publicity pertaining to distribution of the
38 software without specific, written prior permission.
40 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
41 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
42 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
43 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
44 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
45 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
48 ******************************************************************/
49 /* $XFree86: xc/lib/Xt/util/Shell.ht,v 3.4 2001/07/29 05:01:12 tsi Exp $ */
54 #include <X11/SM/SMlib.h>
55 #include <X11/Intrinsic.h>
57 /***********************************************************************
61 ***********************************************************************/
63 * Shell-specific resources names, classes, and a representation type.
66 #ifndef XTSTRINGDEFINES
67 #define _XtShell_h_Const const
70 /* $Xorg: makestrs.c,v 1.6 2001/02/09 02:03:17 xorgcvs Exp $ */
71 /* This file is automatically generated. */
72 /* Default ABI version -- Do not edit */
73 /* Xorg: string.list,v 1.3 2000/08/17 19:46:22 cpqbld Exp */
75 #ifdef XTSTRINGDEFINES
76 #define XtNiconName "iconName"
77 #define XtCIconName "IconName"
78 #define XtNiconPixmap "iconPixmap"
79 #define XtCIconPixmap "IconPixmap"
80 #define XtNiconWindow "iconWindow"
81 #define XtCIconWindow "IconWindow"
82 #define XtNiconMask "iconMask"
83 #define XtCIconMask "IconMask"
84 #define XtNwindowGroup "windowGroup"
85 #define XtCWindowGroup "WindowGroup"
86 #define XtNvisual "visual"
87 #define XtCVisual "Visual"
88 #define XtNtitleEncoding "titleEncoding"
89 #define XtCTitleEncoding "TitleEncoding"
90 #define XtNsaveUnder "saveUnder"
91 #define XtCSaveUnder "SaveUnder"
92 #define XtNtransient "transient"
93 #define XtCTransient "Transient"
94 #define XtNoverrideRedirect "overrideRedirect"
95 #define XtCOverrideRedirect "OverrideRedirect"
96 #define XtNtransientFor "transientFor"
97 #define XtCTransientFor "TransientFor"
98 #define XtNiconNameEncoding "iconNameEncoding"
99 #define XtCIconNameEncoding "IconNameEncoding"
100 #define XtNallowShellResize "allowShellResize"
101 #define XtCAllowShellResize "AllowShellResize"
102 #define XtNcreatePopupChildProc "createPopupChildProc"
103 #define XtCCreatePopupChildProc "CreatePopupChildProc"
104 #define XtNtitle "title"
105 #define XtCTitle "Title"
107 #define XtRAtom "Atom"
109 #define XtNargc "argc"
110 #define XtCArgc "Argc"
111 #define XtNargv "argv"
112 #define XtCArgv "Argv"
113 #define XtNiconX "iconX"
114 #define XtCIconX "IconX"
115 #define XtNiconY "iconY"
116 #define XtCIconY "IconY"
117 #define XtNinput "input"
118 #define XtCInput "Input"
119 #define XtNiconic "iconic"
120 #define XtCIconic "Iconic"
121 #define XtNinitialState "initialState"
122 #define XtCInitialState "InitialState"
123 #define XtNgeometry "geometry"
124 #define XtCGeometry "Geometry"
125 #define XtNbaseWidth "baseWidth"
126 #define XtCBaseWidth "BaseWidth"
127 #define XtNbaseHeight "baseHeight"
128 #define XtCBaseHeight "BaseHeight"
129 #define XtNwinGravity "winGravity"
130 #define XtCWinGravity "WinGravity"
131 #define XtNminWidth "minWidth"
132 #define XtCMinWidth "MinWidth"
133 #define XtNminHeight "minHeight"
134 #define XtCMinHeight "MinHeight"
135 #define XtNmaxWidth "maxWidth"
136 #define XtCMaxWidth "MaxWidth"
137 #define XtNmaxHeight "maxHeight"
138 #define XtCMaxHeight "MaxHeight"
139 #define XtNwidthInc "widthInc"
140 #define XtCWidthInc "WidthInc"
141 #define XtNheightInc "heightInc"
142 #define XtCHeightInc "HeightInc"
143 #define XtNminAspectY "minAspectY"
144 #define XtCMinAspectY "MinAspectY"
145 #define XtNmaxAspectY "maxAspectY"
146 #define XtCMaxAspectY "MaxAspectY"
147 #define XtNminAspectX "minAspectX"
148 #define XtCMinAspectX "MinAspectX"
149 #define XtNmaxAspectX "maxAspectX"
150 #define XtCMaxAspectX "MaxAspectX"
151 #define XtNwmTimeout "wmTimeout"
152 #define XtCWmTimeout "WmTimeout"
153 #define XtNwaitForWm "waitforwm"
154 #define XtCWaitForWm "Waitforwm"
155 #define XtNwaitforwm "waitforwm"
156 #define XtCWaitforwm "Waitforwm"
157 #define XtNclientLeader "clientLeader"
158 #define XtCClientLeader "ClientLeader"
159 #define XtNwindowRole "windowRole"
160 #define XtCWindowRole "WindowRole"
161 #define XtNurgency "urgency"
162 #define XtCUrgency "Urgency"
163 #define XtNcancelCallback "cancelCallback"
164 #define XtNcloneCommand "cloneCommand"
165 #define XtCCloneCommand "CloneCommand"
166 #define XtNconnection "connection"
167 #define XtCConnection "Connection"
168 #define XtNcurrentDirectory "currentDirectory"
169 #define XtCCurrentDirectory "CurrentDirectory"
170 #define XtNdieCallback "dieCallback"
171 #define XtNdiscardCommand "discardCommand"
172 #define XtCDiscardCommand "DiscardCommand"
173 #define XtNenvironment "environment"
174 #define XtCEnvironment "Environment"
175 #define XtNinteractCallback "interactCallback"
176 #define XtNjoinSession "joinSession"
177 #define XtCJoinSession "JoinSession"
178 #define XtNprogramPath "programPath"
179 #define XtCProgramPath "ProgramPath"
180 #define XtNresignCommand "resignCommand"
181 #define XtCResignCommand "ResignCommand"
182 #define XtNrestartCommand "restartCommand"
183 #define XtCRestartCommand "RestartCommand"
184 #define XtNrestartStyle "restartStyle"
185 #define XtCRestartStyle "RestartStyle"
186 #define XtNsaveCallback "saveCallback"
187 #define XtNsaveCompleteCallback "saveCompleteCallback"
188 #define XtNsessionID "sessionID"
189 #define XtCSessionID "SessionID"
190 #define XtNshutdownCommand "shutdownCommand"
191 #define XtCShutdownCommand "ShutdownCommand"
192 #define XtNerrorCallback "errorCallback"
194 extern _XtShell_h_Const
char XtShellStrings
[];
196 #define XtNiconName ((char*)&XtShellStrings[0])
199 #define XtCIconName ((char*)&XtShellStrings[9])
201 #ifndef XtNiconPixmap
202 #define XtNiconPixmap ((char*)&XtShellStrings[18])
204 #ifndef XtCIconPixmap
205 #define XtCIconPixmap ((char*)&XtShellStrings[29])
207 #ifndef XtNiconWindow
208 #define XtNiconWindow ((char*)&XtShellStrings[40])
210 #ifndef XtCIconWindow
211 #define XtCIconWindow ((char*)&XtShellStrings[51])
214 #define XtNiconMask ((char*)&XtShellStrings[62])
217 #define XtCIconMask ((char*)&XtShellStrings[71])
219 #ifndef XtNwindowGroup
220 #define XtNwindowGroup ((char*)&XtShellStrings[80])
222 #ifndef XtCWindowGroup
223 #define XtCWindowGroup ((char*)&XtShellStrings[92])
226 #define XtNvisual ((char*)&XtShellStrings[104])
229 #define XtCVisual ((char*)&XtShellStrings[111])
231 #ifndef XtNtitleEncoding
232 #define XtNtitleEncoding ((char*)&XtShellStrings[118])
234 #ifndef XtCTitleEncoding
235 #define XtCTitleEncoding ((char*)&XtShellStrings[132])
238 #define XtNsaveUnder ((char*)&XtShellStrings[146])
241 #define XtCSaveUnder ((char*)&XtShellStrings[156])
244 #define XtNtransient ((char*)&XtShellStrings[166])
247 #define XtCTransient ((char*)&XtShellStrings[176])
249 #ifndef XtNoverrideRedirect
250 #define XtNoverrideRedirect ((char*)&XtShellStrings[186])
252 #ifndef XtCOverrideRedirect
253 #define XtCOverrideRedirect ((char*)&XtShellStrings[203])
255 #ifndef XtNtransientFor
256 #define XtNtransientFor ((char*)&XtShellStrings[220])
258 #ifndef XtCTransientFor
259 #define XtCTransientFor ((char*)&XtShellStrings[233])
261 #ifndef XtNiconNameEncoding
262 #define XtNiconNameEncoding ((char*)&XtShellStrings[246])
264 #ifndef XtCIconNameEncoding
265 #define XtCIconNameEncoding ((char*)&XtShellStrings[263])
267 #ifndef XtNallowShellResize
268 #define XtNallowShellResize ((char*)&XtShellStrings[280])
270 #ifndef XtCAllowShellResize
271 #define XtCAllowShellResize ((char*)&XtShellStrings[297])
273 #ifndef XtNcreatePopupChildProc
274 #define XtNcreatePopupChildProc ((char*)&XtShellStrings[314])
276 #ifndef XtCCreatePopupChildProc
277 #define XtCCreatePopupChildProc ((char*)&XtShellStrings[335])
280 #define XtNtitle ((char*)&XtShellStrings[356])
283 #define XtCTitle ((char*)&XtShellStrings[362])
286 #define XtRAtom ((char*)&XtShellStrings[368])
289 #define XtNargc ((char*)&XtShellStrings[373])
292 #define XtCArgc ((char*)&XtShellStrings[378])
295 #define XtNargv ((char*)&XtShellStrings[383])
298 #define XtCArgv ((char*)&XtShellStrings[388])
301 #define XtNiconX ((char*)&XtShellStrings[393])
304 #define XtCIconX ((char*)&XtShellStrings[399])
307 #define XtNiconY ((char*)&XtShellStrings[405])
310 #define XtCIconY ((char*)&XtShellStrings[411])
313 #define XtNinput ((char*)&XtShellStrings[417])
316 #define XtCInput ((char*)&XtShellStrings[423])
319 #define XtNiconic ((char*)&XtShellStrings[429])
322 #define XtCIconic ((char*)&XtShellStrings[436])
324 #ifndef XtNinitialState
325 #define XtNinitialState ((char*)&XtShellStrings[443])
327 #ifndef XtCInitialState
328 #define XtCInitialState ((char*)&XtShellStrings[456])
331 #define XtNgeometry ((char*)&XtShellStrings[469])
334 #define XtCGeometry ((char*)&XtShellStrings[478])
337 #define XtNbaseWidth ((char*)&XtShellStrings[487])
340 #define XtCBaseWidth ((char*)&XtShellStrings[497])
342 #ifndef XtNbaseHeight
343 #define XtNbaseHeight ((char*)&XtShellStrings[507])
345 #ifndef XtCBaseHeight
346 #define XtCBaseHeight ((char*)&XtShellStrings[518])
348 #ifndef XtNwinGravity
349 #define XtNwinGravity ((char*)&XtShellStrings[529])
351 #ifndef XtCWinGravity
352 #define XtCWinGravity ((char*)&XtShellStrings[540])
355 #define XtNminWidth ((char*)&XtShellStrings[551])
358 #define XtCMinWidth ((char*)&XtShellStrings[560])
361 #define XtNminHeight ((char*)&XtShellStrings[569])
364 #define XtCMinHeight ((char*)&XtShellStrings[579])
367 #define XtNmaxWidth ((char*)&XtShellStrings[589])
370 #define XtCMaxWidth ((char*)&XtShellStrings[598])
373 #define XtNmaxHeight ((char*)&XtShellStrings[607])
376 #define XtCMaxHeight ((char*)&XtShellStrings[617])
379 #define XtNwidthInc ((char*)&XtShellStrings[627])
382 #define XtCWidthInc ((char*)&XtShellStrings[636])
385 #define XtNheightInc ((char*)&XtShellStrings[645])
388 #define XtCHeightInc ((char*)&XtShellStrings[655])
390 #ifndef XtNminAspectY
391 #define XtNminAspectY ((char*)&XtShellStrings[665])
393 #ifndef XtCMinAspectY
394 #define XtCMinAspectY ((char*)&XtShellStrings[676])
396 #ifndef XtNmaxAspectY
397 #define XtNmaxAspectY ((char*)&XtShellStrings[687])
399 #ifndef XtCMaxAspectY
400 #define XtCMaxAspectY ((char*)&XtShellStrings[698])
402 #ifndef XtNminAspectX
403 #define XtNminAspectX ((char*)&XtShellStrings[709])
405 #ifndef XtCMinAspectX
406 #define XtCMinAspectX ((char*)&XtShellStrings[720])
408 #ifndef XtNmaxAspectX
409 #define XtNmaxAspectX ((char*)&XtShellStrings[731])
411 #ifndef XtCMaxAspectX
412 #define XtCMaxAspectX ((char*)&XtShellStrings[742])
415 #define XtNwmTimeout ((char*)&XtShellStrings[753])
418 #define XtCWmTimeout ((char*)&XtShellStrings[763])
421 #define XtNwaitForWm ((char*)&XtShellStrings[773])
424 #define XtCWaitForWm ((char*)&XtShellStrings[783])
427 #define XtNwaitforwm ((char*)&XtShellStrings[793])
430 #define XtCWaitforwm ((char*)&XtShellStrings[803])
432 #ifndef XtNclientLeader
433 #define XtNclientLeader ((char*)&XtShellStrings[813])
435 #ifndef XtCClientLeader
436 #define XtCClientLeader ((char*)&XtShellStrings[826])
438 #ifndef XtNwindowRole
439 #define XtNwindowRole ((char*)&XtShellStrings[839])
441 #ifndef XtCWindowRole
442 #define XtCWindowRole ((char*)&XtShellStrings[850])
445 #define XtNurgency ((char*)&XtShellStrings[861])
448 #define XtCUrgency ((char*)&XtShellStrings[869])
450 #ifndef XtNcancelCallback
451 #define XtNcancelCallback ((char*)&XtShellStrings[877])
453 #ifndef XtNcloneCommand
454 #define XtNcloneCommand ((char*)&XtShellStrings[892])
456 #ifndef XtCCloneCommand
457 #define XtCCloneCommand ((char*)&XtShellStrings[905])
459 #ifndef XtNconnection
460 #define XtNconnection ((char*)&XtShellStrings[918])
462 #ifndef XtCConnection
463 #define XtCConnection ((char*)&XtShellStrings[929])
465 #ifndef XtNcurrentDirectory
466 #define XtNcurrentDirectory ((char*)&XtShellStrings[940])
468 #ifndef XtCCurrentDirectory
469 #define XtCCurrentDirectory ((char*)&XtShellStrings[957])
471 #ifndef XtNdieCallback
472 #define XtNdieCallback ((char*)&XtShellStrings[974])
474 #ifndef XtNdiscardCommand
475 #define XtNdiscardCommand ((char*)&XtShellStrings[986])
477 #ifndef XtCDiscardCommand
478 #define XtCDiscardCommand ((char*)&XtShellStrings[1001])
480 #ifndef XtNenvironment
481 #define XtNenvironment ((char*)&XtShellStrings[1016])
483 #ifndef XtCEnvironment
484 #define XtCEnvironment ((char*)&XtShellStrings[1028])
486 #ifndef XtNinteractCallback
487 #define XtNinteractCallback ((char*)&XtShellStrings[1040])
489 #ifndef XtNjoinSession
490 #define XtNjoinSession ((char*)&XtShellStrings[1057])
492 #ifndef XtCJoinSession
493 #define XtCJoinSession ((char*)&XtShellStrings[1069])
495 #ifndef XtNprogramPath
496 #define XtNprogramPath ((char*)&XtShellStrings[1081])
498 #ifndef XtCProgramPath
499 #define XtCProgramPath ((char*)&XtShellStrings[1093])
501 #ifndef XtNresignCommand
502 #define XtNresignCommand ((char*)&XtShellStrings[1105])
504 #ifndef XtCResignCommand
505 #define XtCResignCommand ((char*)&XtShellStrings[1119])
507 #ifndef XtNrestartCommand
508 #define XtNrestartCommand ((char*)&XtShellStrings[1133])
510 #ifndef XtCRestartCommand
511 #define XtCRestartCommand ((char*)&XtShellStrings[1148])
513 #ifndef XtNrestartStyle
514 #define XtNrestartStyle ((char*)&XtShellStrings[1163])
516 #ifndef XtCRestartStyle
517 #define XtCRestartStyle ((char*)&XtShellStrings[1176])
519 #ifndef XtNsaveCallback
520 #define XtNsaveCallback ((char*)&XtShellStrings[1189])
522 #ifndef XtNsaveCompleteCallback
523 #define XtNsaveCompleteCallback ((char*)&XtShellStrings[1202])
526 #define XtNsessionID ((char*)&XtShellStrings[1223])
529 #define XtCSessionID ((char*)&XtShellStrings[1233])
531 #ifndef XtNshutdownCommand
532 #define XtNshutdownCommand ((char*)&XtShellStrings[1243])
534 #ifndef XtCShutdownCommand
535 #define XtCShutdownCommand ((char*)&XtShellStrings[1259])
537 #ifndef XtNerrorCallback
538 #define XtNerrorCallback ((char*)&XtShellStrings[1275])
540 #endif /* XTSTRINGDEFINES */
542 #ifndef XTSTRINGDEFINES
543 #undef _XtShell_h_Const
546 /* Class record constants */
548 typedef struct _ShellClassRec
*ShellWidgetClass
;
549 typedef struct _OverrideShellClassRec
*OverrideShellWidgetClass
;
550 typedef struct _WMShellClassRec
*WMShellWidgetClass
;
551 typedef struct _TransientShellClassRec
*TransientShellWidgetClass
;
552 typedef struct _TopLevelShellClassRec
*TopLevelShellWidgetClass
;
553 typedef struct _ApplicationShellClassRec
*ApplicationShellWidgetClass
;
554 typedef struct _SessionShellClassRec
*SessionShellWidgetClass
;
557 externalref WidgetClass shellWidgetClass
;
558 externalref WidgetClass overrideShellWidgetClass
;
559 externalref WidgetClass wmShellWidgetClass
;
560 externalref WidgetClass transientShellWidgetClass
;
561 externalref WidgetClass topLevelShellWidgetClass
;
562 externalref WidgetClass applicationShellWidgetClass
;
563 externalref WidgetClass sessionShellWidgetClass
;
566 #endif /* _XtShell_h */
567 /* DON'T ADD STUFF AFTER THIS #endif */