2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
31 * (c) Copyright 1987, 1988, 1989, 1990, 1993 HEWLETT-PACKARD COMPANY */
43 /******************************<->*************************************
45 * Window manager resource names ...
51 ******************************<->***********************************/
53 /* mwm specific appearance and behavior resources: */
56 #define WmNautoKeyFocus "autoKeyFocus"
57 #define WmNautoRaiseDelay "autoRaiseDelay"
58 #define WmNbackdropDirectories "backdropDirectories"
59 #define WmNbitmapDirectory "bitmapDirectory"
60 #define WmNblinkOnExec "blinkOnExec"
61 #define WmNbuttonBindings "buttonBindings"
62 #define WmNcleanText "cleanText"
63 #define WmNclientAutoPlace "clientAutoPlace"
64 #define WmNcolormapFocusPolicy "colormapFocusPolicy"
65 #define WmNconfigFile "configFile"
66 #define WmNcppCommand "cppCommand"
67 #define WmNdeiconifyKeyFocus "deiconifyKeyFocus"
68 #define WmNdoubleClickTime "doubleClickTime"
69 #define WmNenableWarp "enableWarp"
70 #define WmNenforceKeyFocus "enforceKeyFocus"
71 #define WmNfadeNormalIcon "fadeNormalIcon"
72 #define WmNfeedbackGeometry "feedbackGeometry"
73 #define WmNframeBorderWidth "frameBorderWidth"
74 #define WmNframeExternalShadowWidth "frameExternalShadowWidth"
75 #define WmNfreezeOnConfig "freezeOnConfig"
76 #define WmNgeometry "geometry"
77 #define WmNiconAutoPlace "iconAutoPlace"
78 #define WmNiconBoxGeometry "iconBoxGeometry"
79 #define WmNiconBoxLayout "iconBoxLayout"
80 #define WmNiconBoxName "iconBoxName"
81 #define WmNiconBoxSBDisplayPolicy "iconBoxSBDisplayPolicy"
82 #define WmNiconBoxScheme "iconBoxScheme"
83 #define WmNiconBoxTitle "iconBoxTitle"
84 #define WmNiconClick "iconClick"
85 #define WmNiconDecoration "iconDecoration"
86 #define WmNiconExternalShadowWidth "iconExternalShadowWidth"
87 #define WmNiconImageMaximum "iconImageMaximum"
88 #define WmNiconImageMinimum "iconImageMinimum"
89 #define WmNiconPlacement "iconPlacement"
90 #define WmNiconPlacementMargin "iconPlacementMargin"
91 #define WmNimage "image"
92 #define WmNimageBackground "imageBackground"
93 #define WmNimageForeground "imageForeground"
94 #define WmNinteractivePlacement "interactivePlacement"
95 #define WmNkeyBindings "keyBindings"
96 #define WmNkeyboardFocusPolicy "keyboardFocusPolicy"
97 #define WmNlimitResize "limitResize"
98 #define WmNlowerOnIconify "lowerOnIconify"
99 #define WmNmarqueeSelectGranularity "marqueeSelectGranularity"
100 #define WmNmaximumMaximumSize "maximumMaximumSize"
101 #define WmNmoveThreshold "moveThreshold"
102 #define WmNmultiScreen "multiScreen"
103 #define WmNpassButtons "passButtons"
104 #define WmNpassSelectButton "passSelectButton"
105 #define WmNpositionIsFrame "positionIsFrame"
106 #define WmNpositionOnScreen "positionOnScreen"
107 #define WmNquitTimeout "quitTimeout"
108 #define WmNraiseKeyFocus "raiseKeyFocus"
109 #define WmNrefreshByClearing "refreshByClearing"
110 #define WmNresizeBorderWidth "resizeBorderWidth"
111 #define WmNresizeCursors "resizeCursors"
112 #define WmNrootButtonClick "rootButtonClick"
113 #define WmNsecondariesOnTop "secondariesOnTop"
114 #define WmNsessionVersion "sessionVersion"
115 #define WmNshowFeedback "showFeedback"
116 #define WmNshowNames "showNames"
117 #define WmNstartupKeyFocus "startupKeyFocus"
118 #define WmNsubpanelDecoration "subpanelDecoration"
119 #define WmNsubpanelResources "subpanelResources"
120 #define WmNsystemButtonClick "wMenuButtonClick"
121 #define WmNsystemButtonClick2 "wMenuButtonClick2"
122 #define WmNtransientDecoration "transientDecoration"
123 #define WmNtransientFunctions "transientFunctions"
124 #define WmNuseFrontPanel "useFrontPanel"
125 #define WmNuseIconBox "useIconBox"
126 #define WmNuseWindowOutline "useWindowOutline"
127 #define WmNdtLite "useDtLite"
128 #define WmNmoveOpaque "moveOpaque"
129 #define WmNframeStyle "frameStyle"
131 /* conponent appearance resources: */
133 #define WmNactiveBackground "activeBackground"
134 #define WmNactiveBackgroundPixmap "activeBackgroundPixmap"
135 #define WmNactiveBottomShadowColor "activeBottomShadowColor"
136 #define WmNactiveBottomShadowPixmap "activeBottomShadowPixmap"
137 #define WmNactiveForeground "activeForeground"
138 #define WmNactiveTopShadowColor "activeTopShadowColor"
139 #define WmNactiveTopShadowPixmap "activeTopShadowPixmap"
140 #define WmNbackground "background"
141 #define WmNbackgroundPixmap "backgroundPixmap"
142 #define WmNbottomShadowColor "bottomShadowColor"
143 #define WmNbottomShadowPixmap "bottomShadowPixmap"
144 #define WmNfont "font"
145 #define WmNforeground "foreground"
146 #define WmNsaveUnder "saveUnder"
147 #define WmNtopShadowColor "topShadowColor"
148 #define WmNtopShadowPixmap "topShadowPixmap"
150 /* mwm - client specific resources: */
152 #define WmNabsentMapBehavior "absentMapBehavior"
153 #define WmNclientDecoration "clientDecoration"
154 #define WmNclientFunctions "clientFunctions"
155 #define WmNfocusAutoRaise "focusAutoRaise"
156 #define WmNhelpResources "helpResources"
157 #define WmNiconImage "iconImage"
158 #define WmNiconImageBackground "iconImageBackground"
159 #define WmNiconImageBottomShadowColor "iconImageBottomShadowColor"
160 #define WmNiconImageBottomShadowPixmap "iconImageBottomShadowPixmap"
161 #define WmNiconImageForeground "iconImageForeground"
162 #define WmNiconImageTopShadowColor "iconImageTopShadowColor"
163 #define WmNiconImageTopShadowPixmap "iconImageTopShadowPixmap"
164 #define WmNignoreWMSaveHints "ignoreWMSaveHints"
165 #define WmNinitialWorkspace "initialWorkspace"
166 #define WmNmatteBackground "matteBackground"
167 #define WmNmatteBottomShadowColor "matteBottomShadowColor"
168 #define WmNmatteBottomShadowPixmap "matteBottomShadowPixmap"
169 #define WmNmatteForeground "matteForeground"
170 #define WmNmatteTopShadowColor "matteTopShadowColor"
171 #define WmNmatteTopShadowPixmap "matteTopShadowPixmap"
172 #define WmNmatteWidth "matteWidth"
173 #define WmNmaximumClientSize "maximumClientSize"
174 #define WmNscreenList "screenList"
175 #define WmNscreens "screens"
176 #define WmNsystemMenu "windowMenu"
177 #define WmNuseClientIcon "useClientIcon"
178 #define WmNusePPosition "usePPosition"
179 #define WmNworkspaceList "workspaceList"
180 #define WmNworkspaceCount "workspaceCount"
182 /* window manager part resource names: */
184 #define WmNclient "client"
185 #define WmNfeedback "feedback"
186 #define WmNicon "icon"
187 #define WmNmenu "menu"
188 #define WmNtitle "title"
189 #define WmNdefaults "defaults"
190 #define WmNbackdrop "backdrop"
191 #define WmNcolorSetId "colorSetId"
192 #define WmNfrontPanel "frontPanel"
193 #define WmNworkspaceController "workspaceController"
194 #define WmNworkspacePresence "workspacePresence"
195 #define WmNworkspaceSwitch "workspaceSwitch"
197 /* window manager client resource names: */
199 #define WmNiconBox "iconbox"
200 #define WmNconfirmbox "confirmbox"
201 #define WmNswitcher "switcher"
205 /*************************************<->*************************************
207 * Window manager resource classes ...
213 *************************************<->***********************************/
215 /* mwm specific appearance and behavior resources: */
217 #define WmCAutoKeyFocus "AutoKeyFocus"
218 #define WmCAutoRaiseDelay "AutoRaiseDelay"
219 #define WmCBackdropDirectories "BackdropDirectories"
220 #define WmCBitmapDirectory "BitmapDirectory"
221 #define WmCBlinkOnExec "BlinkOnExec"
222 #define WmCButtonBindings "ButtonBindings"
223 #define WmCCleanText "CleanText"
224 #define WmCClientAutoPlace "ClientAutoPlace"
225 #define WmCColormapFocusPolicy "ColormapFocusPolicy"
226 #define WmCConfigFile "ConfigFile"
227 #define WmCCppCommand "CppCommand"
228 #define WmCDeiconifyKeyFocus "DeiconifyKeyFocus"
229 #define WmCDoubleClickTime "DoubleClickTime"
230 #define WmCEnableWarp "EnableWarp"
231 #define WmCEnforceKeyFocus "EnforceKeyFocus"
232 #define WmCFadeNormalIcon "FadeNormalIcon"
233 #define WmCFeedbackGeometry "FeedbackGeometry"
234 #define WmCFrameBorderWidth "FrameBorderWidth"
235 #define WmCFrameExternalShadowWidth "FrameExternalShadowWidth"
236 #define WmCFreezeOnConfig "FreezeOnConfig"
237 #define WmCGeometry "Geometry"
238 #define WmCIconAutoPlace "IconAutoPlace"
239 #define WmCIconBoxGeometry "IconBoxGeometry"
240 #define WmCIconBoxLayout "IconBoxLayout"
241 #define WmCIconBoxName "IconBoxName"
242 #define WmCIconBoxSBDisplayPolicy "IconBoxSBDisplayPolicy"
243 #define WmCIconBoxScheme "IconBoxScheme"
244 #define WmCIconBoxTitle "IconBoxTitle"
245 #define WmCIconClick "IconClick"
246 #define WmCIconDecoration "IconDecoration"
247 #define WmCIconExternalShadowWidth "IconExternalShadowWidth"
248 #define WmCIconImageMaximum "IconImageMaximum"
249 #define WmCIconImageMinimum "IconImageMinimum"
250 #define WmCIconPlacement "IconPlacement"
251 #define WmCIconPlacementMargin "IconPlacementMargin"
252 #define WmCImage "Image"
253 #define WmCImageBackground "ImageBackground"
254 #define WmCImageForeground "ImageForeground"
255 #define WmCInteractivePlacement "InteractivePlacement"
256 #define WmCKeyBindings "KeyBindings"
257 #define WmCKeyboardFocusPolicy "KeyboardFocusPolicy"
258 #define WmCLimitResize "LimitResize"
259 #define WmCLowerOnIconify "LowerOnIconify"
260 #define WmCMarqueeSelectGranularity "MarqueeSelectGranularity"
261 #define WmCMaximumMaximumSize "MaximumMaximumSize"
262 #define WmCMoveThreshold "MoveThreshold"
263 #define WmCMultiScreen "MultiScreen"
264 #define WmCPassButtons "PassButtons"
265 #define WmCPassSelectButton "PassSelectButton"
266 #define WmCPositionIsFrame "PositionIsFrame"
267 #define WmCPositionOnScreen "PositionOnScreen"
268 #define WmCQuitTimeout "QuitTimeout"
269 #define WmCRaiseKeyFocus "RaiseKeyFocus"
270 #define WmCRefreshByClearing "RefreshByClearing"
271 #define WmCResizeBorderWidth "ResizeBorderWidth"
272 #define WmCResizeCursors "ResizeCursors"
273 #define WmCRootButtonClick "RootButtonClick"
274 #define WmCSecondariesOnTop "SecondariesOnTop"
275 #define WmCSessionVersion "SessionVersion"
276 #define WmCScreenList "ScreenList"
277 #define WmCScreens "Screens"
278 #define WmCShowFeedback "ShowFeedback"
279 #define WmCShowNames "ShowNames"
280 #define WmCStartupKeyFocus "StartupKeyFocus"
281 #define WmCSubpanelDecoration "SubpanelDecoration"
282 #define WmCSubpanelResources "SubpanelResources"
283 #define WmCSystemButtonClick "WMenuButtonClick"
284 #define WmCSystemButtonClick2 "WMenuButtonClick2"
285 #define WmCTransientDecoration "TransientDecoration"
286 #define WmCTransientFunctions "TransientFunctions"
287 #define WmCUseFrontPanel "UseFrontPanel"
288 #define WmCUseIconBox "UseIconBox"
289 #define WmCUseWindowOutline "UseWindowOutline"
290 #define WmCDtLite "UseDtLite"
291 #define WmCMoveOpaque "MoveOpaque"
292 #define WmCFrameStyle "FrameStyle"
293 #define WmCWorkspaceList "WorkspaceList"
294 #define WmCWorkspaceCount "WorkspaceCount"
296 /* component appearance resources: */
298 #define WmCActiveBackground "ActiveBackground"
299 #define WmCActiveBackgroundPixmap "ActiveBackgroundPixmap"
300 #define WmCActiveBottomShadowColor "ActiveBottomShadowColor"
301 #define WmCActiveBottomShadowPixmap "ActiveBottomShadowPixmap"
302 #define WmCActiveForeground "ActiveForeground"
303 #define WmCActiveTopShadowColor "ActiveTopShadowColor"
304 #define WmCActiveTopShadowPixmap "ActiveTopShadowPixmap"
305 #define WmCBackground "Background"
306 #define WmCBackgroundPixmap "BackgroundPixmap"
307 #define WmCBottomShadowColor "BottomShadowColor"
308 #define WmCBottomShadowPixmap "BottomShadowPixmap"
309 #define WmCFont "Font"
310 #define WmCForeground "Foreground"
311 #define WmCSaveUnder "SaveUnder"
312 #define WmCTopShadowColor "TopShadowColor"
313 #define WmCTopShadowPixmap "TopShadowPixmap"
315 /* mwm - client specific resources: */
317 #define WmCAbsentMapBehavior "AbsentMapBehavior"
318 #define WmCClientDecoration "ClientDecoration"
319 #define WmCClientFunctions "ClientFunctions"
320 #define WmCFocusAutoRaise "FocusAutoRaise"
321 #define WmCHelpResources "HelpResources"
322 #define WmCIconImage "IconImage"
323 #define WmCIconImageBackground "IconImageBackground"
324 #define WmCIconImageBottomShadowColor "IconImageBottomShadowColor"
325 #define WmCIconImageBottomShadowPixmap "IconImageBottomShadowPixmap"
326 #define WmCIconImageForeground "IconImageForeground"
327 #define WmCIconImageTopShadowColor "IconImageTopShadowColor"
328 #define WmCIconImageTopShadowPixmap "IconImageTopShadowPixmap"
329 #define WmCIgnoreWMSaveHints "IgnoreWMSaveHints"
330 #define WmCInitialWorkspace "InitialWorkspace"
331 #define WmCMatteBackground "MatteBackground"
332 #define WmCMatteBottomShadowColor "MatteBottomShadowColor"
333 #define WmCMatteBottomShadowPixmap "MatteBottomShadowPixmap"
334 #define WmCMatteForeground "MatteForeground"
335 #define WmCMatteTopShadowColor "MatteTopShadowColor"
336 #define WmCMatteTopShadowPixmap "MatteTopShadowPixmap"
337 #define WmCMatteWidth "MatteWidth"
338 #define WmCMaximumClientSize "MaximumClientSize"
339 #define WmCSystemMenu "WindowMenu"
340 #define WmCUseClientIcon "UseClientIcon"
341 #define WmCUsePPosition "UsePPosition"
343 /* window manager part resource names: */
345 #define WmCClient "Client"
346 #define WmCFeedback "Feedback"
347 #define WmCIcon "Icon"
348 #define WmCMenu "Menu"
349 #define WmCTitle "Title"
350 #define WmCDefaults "Defaults"
351 #define WmCBackdrop "Backdrop"
352 #define WmCColorSetId "ColorSetId"
353 #define WmCFrontPanel "FrontPanel"
354 #define WmCWorkspaceController "WorkspaceController"
355 #define WmCWorkspacePresence "WorkspacePresence"
356 #define WmCWorkspaceSwitch "WorkspaceSwitch"
358 /* window manager client resource names: */
360 #define WmCIconBox "Iconbox"
361 #define WmCConfirmbox "Confirmbox"
362 #define WmCSwitcher "Switcher"
366 /*************************************<->*************************************
368 * Window manager resource converter names ...
374 *************************************<->***********************************/
376 #define WmRAbsentMapBehavior "WmAMBehavior"
377 #define WmRCFocusPolicy "WmCFocus"
378 #define WmRClientDecor "WmCDecor"
379 #define WmRClientFunction "WmCFunc"
380 #define WmRFrameStyle "WmFrameStyle"
381 #define WmRIconBoxLayout "WmIBLayout"
382 #define WmRIconDecor "WmIDecor"
383 #define WmRIconPlacement "WmIPlace"
384 #define WmRKFocusPolicy "WmKFocus"
385 #define WmRSize "WmSize"
386 #define WmRShowFeedback "WmShowFeedback"
387 #define WmRUsePPosition "WmUsePPosition"
391 /*************************************<->*************************************
393 * Window manager resource set definitions and default resource values ...
399 *************************************<->***********************************/
404 /*************************************<->*************************************
406 * Mwm resource description file definitions ...
412 *************************************<->***********************************/
414 /* Configuration resource types: */
416 #define CRS_BUTTON (1L << 0)
417 #define CRS_KEY (1L << 1)
418 #define CRS_MENU (1L << 2)
419 #define CRS_ACCEL (1L << 3)
420 #define CRS_ANY (CRS_BUTTON | CRS_KEY | CRS_MENU | CRS_ACCEL)
422 #define WmNhelpDirectory "helpDirectory"
424 #define WmCHelpDirectory "HelpDirectory"
426 /************************** eof ************************/