EX% PvHelp on the Window Manager- `/ֹDECW$MWM R Contents3 / CONTENTSCONTENTS8 E[TitlePageTitle Page@E\ CopyrightPageCopyright PageVw%%&KAbouttheWindowManagerAbout the Window Managerk4#&KOverviewoftheWindow&ManagerOverview of the Window Manager Ol!!pAUsing DECwindowsHelpUsing DECwindows HelpF\p@ DECwindowsBasicsDECwindows BasicsH\p@PartsofaWindowParts of a WindowOl!!pAMakingWindowsActiveMaking Windows Active@lpAMovingWindowsMoving Windows@lp@SizingWindowsSizing Windows"Hlp@ MinimizingWindowsMinimizing Windows'[l''pA Restoring MinimizedWindowsRestoring Minimized Windows+HlpA MaximizingWindowsMaximizing Windows.[l''pA Restoring MaximizedWindowsRestoring Maximized Windows2Flp@ ArrangingWindowsArranging Windows58l AShuffleUpShuffle Up:<\ AShuffleDownShuffle Down=:\ ANextWindowNext Window@B\@PreviousWindowPrevious WindowCHlp@UsinganIconBoxUsing an Icon BoxFJlpA CustomizingWindowsCustomizing WindowsLYl&&A CustomizingYour WorkspaceCustomizing Your WorkspaceQJl@ CustomizingBordersCustomizing BordersXWl%%@ CustomizingBorderColorsCustomizing Border Colors]n!5&AChangingBorder ForegroundColorChanging Border Foreground Colorcn!5&@ChangingBorder BackgroundColorChanging Border Background Colordo!6'AChangingBorderTopShadowColorChanging Border Top Shadow Coloreu$9"AChangingBorderBottomShadowColorChanging Border Bottom Shadow ColorjFlA CustomizingIconsCustomizing IconsoSl##A CustomizingIconColorsCustomizing Icon Colorsul 4$AChangingIcon ForegroundColorsChanging Icon Foreground Colorszl 4$AChangingIcon BackgroundColorsChanging Icon Background Colors{m 5%@ChangingIconTopShadowColorsChanging Icon Top Shadow Colors|s#8(@ChangingIconBottomShadowColorsChanging Icon Bottom Shadow ColorsVl%%AChangingIconBoxColorsChanging Icon Box Colors^l))@ CustomizingtheWindowMatteCustomizing the Window MatteOl!!@ApplyingYourChangesApplying Your ChangesMl  AApplyingtheOptionsApplying the OptionsJ\A CustomizationErrorCustomization Error_l))A CustomizingOther informationCustomizing Other informationP\!!@Advanced CustomizationAdvanced Customization@\AResourceFilesResource Files]l((AResource ConfigurationFilesResource Configuration Files-D'A CustomizingtheMwmMenus,Keys,andButtonsCustomizing the Mwm Menus, Keys, and ButtonsXl&&A CustomizingtheMwmMenusCustomizing the Mwm MenusT\$$ATheDefaultWindowMenuThe Default Window MenuUl$$@WindowManager FunctionsWindow Manager FunctionsSl##@ CustomizingtheButtonsCustomizing the ButtonsK\ATheDefaultButtonsThe Default ButtonsMl  A CustomizingtheKeysCustomizing the KeysEl@TheDefaultKeysThe Default KeysOl!!@ChangingthecolormapChanging the colormapf1AMwmResourceQuick ReferenceMwm Resource Quick Reference+A'@ CustomizingtheBorderforOne ApplicationCustomizing the Border for One Application/F,A CustomizingtheIconImageforOne ApplicationCustomizing the Icon Image for One Application+A'A CustomizingtheColorsforOne ApplicationCustomizing the Colors for One Applicationt#9+AStartingan ApplicationasanIconStarting an Application as an Iconx%;'@ CustomizingtheBorderandIconFontCustomizing the Border and Icon FontVl%%pAUsingthe WorkspaceMenuUsing the Workspace Menu8\ @PackIconsPack Icons*\ARestartLl  p@UsingaWindowMenuUsing a Window MenuElp@TypesofWindowsTypes of Windows Ql""A SecondaryWindowTypesSecondary Window Typesc/&KWindow Management& ShortcutsWindow Management ShortcutsSw##&LWindowManagerGlossaryWindow Manager GlossaryL\  pAClientorWorkAreaClient or Work Areal 4#pA DECwindowsMotifWindowpManagerDECwindows Motif Window Manager+\pAIconIcon4\ pAIconBoxIcon Box-\p@MatteMatteB\p@MaximizebuttonMaximize button4\ pAMenubarMenu barB\pAMinimizebuttonMinimize button>\p@ResizeborderResize border6\ p@TitlebarTitle bar <\ pAWindowFrameWindow Frame!:\ pAWindowmenuWindow menu"I\p@WindowMenubuttonWindow Menu button#5l p@ WorkspaceWorkspace$@lpA WorkspacemenuWorkspace menu% *R((OHelpontheWindowManager  t O?O62010Hewlett-Packard DevelopmentCompany,L.P.iO Proprietarycomputer software.'ValidlicensefromHPrequiredfor possession,useor`Ocopying.( ConsistentwithFAR12.211and12.212, CommercialComputer Software,_OVComputerSoftwareDocumentation,and TechnicalDatafor CommercialItemsare^OlicensedtotheU.S. Governmentundervendor'sstandard commerciallicense.cO3The information containedhereinissubjecttochangewithoutnotice.,TheonlycOu warrantiesforHPproductsandservicesaresetforthintheexpresswarranty_O statements accompanyingsuchproductsand services.*NothinghereinshouldbelO construedas constitutingan additional warranty.(HPshallnotbeliablefor technicalBO=or editorialerrorsor omissions containedherein.eOUNIXandthe"X"deviceare trademarksofTheOpenGroupintheUnitedStates Oandother countries.MOThisdocumentwaspreparedusingVAX DOCUMENT,Version2.0.*  n_%OAbouttheWindowManager:OU DECwindowsMotifforOpenVMSWindowManager| RDO Copyright2010Hewlett-Packard DevelopmentCompany,OL.P.XBOSoftwareVersion:+HP DECwindowsMotifforOpenVMS,OVersion1.7WDO Proprietarycomputer software..ValidlicensefromHPIOrequiredfor possession,useorcopying.- ConsistentwithDO5FAR12.211and12.212, CommercialComputer Software,BOComputerSoftwareDocumentation,and TechnicalDataJOfor CommercialItemsarelicensedtotheU.S. Government9O>undervendor'sstandard commerciallicense.  FOThe information containedhereinissubjecttochangeIOwithoutnotice.,Theonly warrantiesforHPproductsandKO5servicesaresetforthintheexpresswarranty statementsGO accompanyingsuchproductsand services.*NothinghereinLOshouldbe construedas constitutingan additional warranty.OO>HPshallnotbeliablefor technicalor editorialerrorsor'O omissions containedherein. EOUNIXandthe"X"deviceare trademarksofTheOpen@OGroupintheUnitedStatesandother countries. X   !OUsing DECwindowsHelpKOUForanoverviewofthe DECwindowshelpsystem,chooseOn6OWindowfromtheUsingHelpmenuabove.vQOAHelpwindowopensthatdisplaysalistof additionaltopics%Oaboutcommonhelptasks.GO Additionaltopics:a7 `m,mOverviewoftheWindowManager*0IO   O DECwindowsBasicsGOUTodisplay informationaboutusing DECwindows,suchasLOhowtousewindows,menus,dialogboxes,andscrollbars:* 6G`m1.:MovethepointertotheHelpmenuontheSession Manager'smenubar.=`E2.:PressandholdMB1todisplaythismenu.O`3.:MovethepointertotheOnBasicsmenuitemandreleaseMB1.IWAhelpwindowopensthatdisplaysalistof additional7topicsaboutbasic DECwindows techniques.GO Additionaltopics:a7 `m,mOverviewoftheWindowManager*0IO   n[OPartsofaWindow=OUMostwindowsincludethe following components:!  OO ComponentK Description OOAWindowframe:KA Surroundsawindowandusuallyconsistsof;Kresizeborders,atitlebar,awindowmenu9Kbutton,aminimizebutton,andamaximizeK)button.OResizeborders:KSurroundan applicationwindowandletyou-Kresizethe application'swindow.OjTitlebar;KjShowsthenameofthe applicationandcon-7Ktainswindow managementbuttonsthatyou9Kcanuseto rearrangeyourscreendisplay.-KSMostwindowshaveatitlebar.OWindowTitle;K Identifiesthefunctionofawindow.%Fora=Kmainwindow,itusuallycontainsthenameof@Khthe application.#Foradialogbox,itmayalso=Kcontainspecific informationabouttheuseofKthewindow.MO|Windowmenubutton`Displaysthewindowmenu,whichcontains3Kmenuitemsforworkingwithwindows.OODMinimizebuttonLetsyoushrinkawindowtoaniconontheK workspace.O Iconhavenoeffect.<zKOIfnowindowsare obscuringotherwindows,then shuffling/Othewindowswillhavenoeffect. Z=OShuffleDownMOUTolowerthetop-mostwindowtothebottomofthescreen,! WROThisisusefulifyouareworkinginalargewindowandwantOOtorefertoawindowthatis obscured.+YoucanshuffletheMO5windowsonthescreenuntilthehiddenwindowis displayedQOandthencontinuetotypeinthelargewindow.'IfnowindowsNOare obscuringotherwindows,then shufflingthewindowswillO>havenoeffect.?zKOIfnowindowsare obscuringotherwindows,then shuffling/Othewindowswillhavenoeffect. @ONextWindowJOUTosetfocustoa previouslyactivewindow,chooseNext-OWindowfromthe Workspacemenu.SA! )SOThiscanbeusefulto circulatethroughallthewindowsontheMOscreen.(Itdiffersfrom shufflingwindows.'NextWindowwillVO5alwaysgotothenextwindowevenifitisnot obscured,andit3Owillalwaysmakethatwindowactive.BWPOForexample,ifyouhavethreewindows:(aclock,thesessionIOmanager,andaDECterm,whichisactive.-IfyouselectHO5NextWindow,thentheclockmaybecomeactive.,IfyouIOselectNextWindowagain,thenthesessionmanagerwillHObecomeactive.,IfyouchoosePreviousWindow,thenthe(O>Clockbecomesactiveagain. COPreviousWindowLOUTosetfocusinthereverseorderofNextWindow,choose7OPreviousWindowfromthe Workspacemenu.RD! (SOThiscanbeusefulto circulatethroughallthewindowsontheMOscreen.(Itdiffersfrom shufflingwindows.'NextWindowwillUO5alwaysgotothenextwindowevenifitisnotobscuredandit3Owillalwaysmakethatwindowactive.EWPOForexample,ifyouhavethreewindows:(aclock,thesessionIOmanager,andaDECterm,whichisactive.-IfyouselectHO5NextWindow,thentheclockmaybecomeactive.,IfyouIOselectNextWindowagain,thenthesessionmanagerwillHObecomeactive.,IfyouchoosePreviousWindow,thenthe(O>Clockbecomesactiveagain. FOUsinganIconBoxMOUBydefault,iconsare displayedasseparatewindowsonthe1Oscreenandcanbeplaced anywhere.GWPOIfyouwanttodisplayyouriconsinonecentralplace,youROcanstoretheminaniconbox.)AniconboxisawindowthatLO5containstheiconsforallthewindowsonthescreen.-ToROcreateaniconbox,usetheIconOptionsdialogbox,whichisJO availablebychoosingIcons...+fromthe WorkspaceOptionsO>submenu.H QOInaniconbox,ifyou double-clickonanyicon,bydefault,OOthewindowwillbecomeactiveandwillberaisedtotopofMO5thescreen.)Usingthe keyboard,youcanpressReturnonaKO highlightedicontomakethewindowactivefromanicon.OOIfyouShift+double-clickonanyicon,itwillminimizethatPO>window.'Whenawindowisrestoredfromanicon,theiconisOgrayed.I SOIfyoudonotuseaniconbox,whenyourestoreawindowtheOOiconisnotgrayed.'Instead,itisremovedfromthescreen.JNLOTo customizethepositionandsizeoftheiconbox,moveMOandresizetheiconboxandselectApplyOptionsfromthe#O5 WorkspaceOptionsmenu.]K33OYoucanalsominimizetheiconbox. iOc w%-OChangingBorder ForegroundColorMOUTochangetheWindowBorder Foregroundcolor,clickontheGO Foregroundbutton.) DECwindowsdisplaystheColorMixingPOdialogbox,whichletsyouselecttheborder foregroundcolorO^youwant. i Odw%-OChangingBorder BackgroundColorDOUTochangetheWindowBorder BackgroundColor,clickAOonthe Backgroundbutton./ DECwindowsdisplaystheLOColorMixingdialogbox,whichletsyouselecttheborder'O^ backgroundcoloryouwant.  !e ).OChangingBorderTopShadowColorHOUWindowbordertopandbottomshadowcolorshavetobeEO well-matchedtopresentthethree-dimensionallookofFO DECwindowsMotif., DECwindowshelpsyoutodothisbyFO^ automatically determiningtopandbottomshadowborderNOcolorswhenyouchangethe backgroundcolor.(ThisoptionisGO indicatedbytheshaded Automaticshadowcheckbutton._f55OTochooseyourowntopshadowcolors:ig??`m1.:Clickonthe Automaticshadowcheckbutton.h]+WThisoptionwillbe disabled.2`2.:ClickontheTopShadowbutton.|i RGW DECwindowsdisplaystheColorMixingdialogbox,whichEletsyouselecttheTopShadowcoloryouwant..YouFshouldusetheHLSmodelinthecolormixingdialogNaboxtochooseatopshadowcolorthatislighterandless2 saturatedthanthe backgroundcolor. ! "j)1OChangingBorderBottomShadowColorHOUWindowbordertopandbottomshadowcolorshavetobeEO well-matchedtopresentthethree-dimensionallookofFO DECwindowsMotif., DECwindowshelpsyoutodothisbyFO^ automatically determiningtopandbottomshadowcolorsGOwhenyouchangethe backgroundcolors.-ThisoptionisGO indicatedbytheshaded Automaticshadowcheckbutton.bk88OToselectyourownBottomshadowcolors:il??`m1.:Clickonthe Automaticshadowcheckbutton.m`+WThisoptionwillbe disabled.5`2.:ClickontheBottomShadowbutton.n WGW DECwindowsdisplaystheColorMixingdialogbox,whichHletsyouselecttheBottomShadowcoloryouwant.*YouKshouldusetheHLSmodelofthecolormixingdialogboxKatochooseabottomshadowcolorthatisdarkerandmore2 saturatedthanthe backgroundcolor. \$#%Bz w,OChangingIcon ForegroundColorsCOUTochange the Icon Foreground Color,!click on theGO Foregroundbutton.) DECwindowsdisplaystheColorMixingSOdialogbox,whichletsyouselecttheicon foregroundcoloryouO^want. \%$&B{w,OChangingIcon BackgroundColorsCOUTochange the Icon background Color,!click on theGO Foregroundbutton.) DECwindowsdisplaystheColorMixingNOdialogbox,whichletsyouselecttheicon backgroundcolorO^youwant. &%'| )-OChangingIconTopShadowColorsLOUIcontopandbottomshadowcolorshavetobe well-matchedCOtopresentthethree-dimensionallookof DECwindowsIOMotif.+ DECwindowshelpsyoutodothisby automaticallyJO^ determiningtopandbottomshadowbordercolorswhenyouPOchangetheicon backgroundcolor.'Thisoptionis indicatedby8Otheshaded Automaticshadowcheckbutton.`}66OTochooseyourowniconshadowcolors:i~??`m1.:Clickonthe Automaticshadowcheckbutton.]+WThisoptionwillbe disabled.2`2.:ClickontheTopShadowbutton.| RGW DECwindowsdisplaystheColorMixingdialogbox,whichEletsyouselecttheTopShadowcoloryouwant..YouFshouldusetheHLSmodelinthecolormixingdialogNaboxtochooseatopshadowcolorthatislighterandless2 saturatedthanthe backgroundcolor. '&(5  0OChangingIconBottomShadowColorsLOUIcontopandbottomshadowcolorshavetobe well-matchedCOtopresentthethree-dimensionallookof DECwindowsIOMotif.+ DECwindowshelpsyoutodothisby automaticallyJO^ determiningtopandbottomshadowcolorswhenyouchangeNOtheicon backgroundcolors.+Thisoptionis indicatedbythe3Oshaded Automaticshadowcheckbutton.8OhToselectyourownBottomshadowcolors:i??`m1.:Clickonthe Automaticshadowcheckbutton.`+WThisoptionwillbe disabled.5`2.:ClickontheBottomShadowbutton. WGW DECwindowsdisplaystheColorMixingdialogbox,whichHletsyouselecttheBottomShadowcoloryouwant.*YouKshouldusetheHLSmodelofthecolormixingdialogboxKatochooseabottomshadowcolorthatisdarkerandmore2 saturatedthanthe backgroundcolor. :(')n]%OChangingIconBoxColors8OUTochangetheIconBox BackgroundColor:a77`m1.:Clickonthe Automaticcolorbutton.Up++WThisoptionwillbe disabled.! !CWClickonthe Backgroundbutton.) DECwindowsdisplaysOtheColorMixingdialogbox,whichletsyouselecttheicon' backgroundcoloryouwant. -) (* )O CustomizingtheWindowMatteIOUTochangeyourmatte features,chooseMatte...,fromthe3.:RestartMwm.e;;OIfthisfiledoesnotexist,copyitfrom  `m>m$decw$system_defaults:decw$mwm_rc.datto decw$user_4defaults:decw$mwm_rc.datforOpenVMSor `E=E/usr/lib/X11/system.mwmrcto~/.mwmrcforothersystems.NPONotethatthisfilediffersfromtheMwmresourcefile.(OnceOOyouhavealocalcopyofthisfile,youmustmergeinanyOO5changesinthesystemfilewhenanewreleaseis installed. 324 $OTheDefaultWindowMenuOOUHereisthedefaultwindowmenufromthe configurationfile."O !&Default%Window&Menu3O" !&Menu% associated%with&window%border!Oi Menu&DefaultWindowMenu O {0 "Restore"_R& AltF5 f.normalizeA "Move" A _M& AltF7f.move "Size"" _S& AltF8f.resize0 "Minimize"p_n& AltF9 f.minimize1 "Maximize"p_x& AltF10p f.maximize*a "Lower"_L& AltF3f.lower no-labelD f.separator "Workspace"K_WD f.menu& WorkspaceMenu)9 "Close"_C& AltF4f.kill "Help"  _HD f.menu& MwmHelpMenu O }oEO Additionaltopics:(Resource ConfigurationFiles*FO i435n\$OWindowManager Functions8OUHereisalistofcommonMwm functions.'NOf.circle_down, f.circle_up,f.dec_customize, f.dec_help,f.exec,OOf.focus_color, f.focus_key,f.kill,f.lower, f.maximize,f.menu,GO5 f.minimize,f.move, f.next_cmap, f.next_key, f.normalize,EOf.normalize_and_raise, f.pack_icons, f.pass_key,f.post_EOsmenu, f.prev_cmap, f.prev_key, f.raise,f.raise_lower,HO> f.refresh, f.refresh_win, f.resize, f.restart, f.send_msg,GO f.separator,f.set_behavior,f.screenf.title, f.quit_mwm xIOFormore informationaboutWindowManager functions,see/OtheOSFMotif Programmer'sGuide. x546#O CustomizingtheButtonsIOUYoucanmodifywhichmousebuttonsareassignedtoMwmO functions.rHHOForexample,tostartDECtermfromMwmusingAltMB3,jL`m1.:Addthisitemtothebuttonbindingsinyourresource configurationfile.Z% 10 hDYhAltroot | window | frame | icon>Yf.exec"create/terminal/detached"forOpenVMSor @DY@Altroot | window | frame | icon9Yf.exec"/usr/bin/dxterm"forothersystems.`2.:RestartMwm.2OThemousebindingsareoftheformO Buttons& BindingName OP {9O Modifier