-------------------------------------------------------------------------------------- -- Ada language interface to OSF/Motif toolkit -- -- Version: 1.0 -- -- Release date: 3/19/91 -- -- Compiled under: -- VADS 5.5+ on Apollo Domain / DEC Ultrix / SCO Unix -- -- This is an Ada binding to the OSF Motif toolkit. -- Requires: -- OSF/Motif toolkit -- Verdix (or Verdix-derived) Ada libraries -- -- Author: -- Boeing Commercial Airplanes Avionics Flight Systems Organization -- -- -- Mailing Address: -- P.O. Box 3999, M/S 65-07 -- Seattle, WA 98124 -- Attn: E. J. Jones -- -- -- Approved for public release; distribution is unlimited. Per DoD Directive -- 5230.24. -- -- Copyright (c) 1991, The Boeing Company, Seattle, Washington. This software, -- the BCA Ada language interface to the OSF/Motif toolkit, produced by the -- Boeing Commercial Airplane Company and made available under STARS (Software -- Technology for Adaptable, Reliable Systems) is approved for release under -- Distribution "A" of the Scientific and Technical Information Program -- Classification Scheme (DoD Directive 5230.24) unless otherwise indicated. -- Sponsored by the U.S. Defense Advanced Research Project Agency (DARPA) under -- contract F19628-88-D-0028, the STARS program is supported by the military -- services, SEI, and MITRE, with the U.S. Air Force as the executive -- contracting agent. The code identified herein is subject to change. -- -- Permission to use, modify, copy, and comment on this software for purposes -- stated under Distribution "A" and without fee is hereby granted. This -- software retains Contractor indemnification to the Government regarding -- copyrights pursuant to the above referenced STARS contract. The Government -- disclaims all responsibility against liability, including costs and expenses -- for violation of proprietary rights, or copyrights arising out of the -- creation or use of this software. -- -- In addition, the Government and The Boeing Company disclaim all warranties -- with regard to this software, including all implied warranties of -- merchantability and fitness. In no event shall the Government or The Boeing -- Company be liable for any special, indirect or consequential damages or any -- damages whatsoever resulting from the loss of use, data or profits, whether -- in action of contract, negligence or other tortuous action, arising in -- connection with the use or performance of this software. The Boeing Company -- does not agree to support or maintain this software or to produce any -- future versions. -------------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -- -- PROLOGUE -- -- NAME: Package Specification for private string definitions for the -- Ada binding to the OSF MOTIF Widget Set. -- -- S/W FAMILY: CORE Library support software -- -- ------------------------------------------------------------------------------- -- Package spec XM WIDGET SET PRIVATE ---------------------------------------------------------------------- -- CHANGE HISTORY -- Ver. Developer Date Description -- ---- -------- ----- --------------------------------- -- 1.0 E.J.Jones(206)477-3566 12/91 Original version for Ada Motif Bindings -- ---------------------------------------------------------------------- package XM_WIDGET_SET_PRIVATE is -- The XM_WIDGET_SET_PRIVATE package is used just to store the string constants -- (as defined by OSF Motif Widget classes). It is to be used only by the package -- specification xm_widget_set.a and is used to make the Ada equivalence of the -- #define XmNresourceName "resourceName" in the C interface for the OSF Motif -- widgets. -- -- -- ************************************************************************ -- * Resource names -- * Taken from StringDefs -- ************************************************************************ ACCELERATOR : constant STRING := "accelerator" & ASCII.NUL; ACCELERATORS : constant STRING := "accelerators" & ASCII.NUL; ACCELERATORTEXT : constant STRING := "acceleratorText" & ASCII.NUL; ADJUSTLAST : constant STRING := "adjustLast" & ASCII.NUL; ADJUSTMARGIN : constant STRING := "adjustMargin" & ASCII.NUL; ALIGNMENT : constant STRING := "alignment" & ASCII.NUL; -- ANCESTORSENSITIVE : constant STRING := "ancestorSensitive" & ASCII.NUL; ARMCALLBACK : constant STRING := "armCallback" & ASCII.NUL; -- BACKGROUND : constant STRING := "background" & ASCII.NUL; -- BACKGROUNDPIXMAP : constant STRING := "backgroundPixmap" & ASCII.NUL; BITMAP : constant STRING := "bitmap" & ASCII.NUL; -- BORDERCOLOR : constant STRING := "borderColor" & ASCII.NUL; -- BORDERPIXMAP : constant STRING := "borderPixmap" & ASCII.NUL; -- BORDERWIDTH : constant STRING := "borderWidth" & ASCII.NUL; CASCADEPIXMAP : constant STRING := "cascadePixmap" & ASCII.NUL; CASCADINGCALLBACK : constant STRING := "cascadingCallback" & ASCII.NUL; COLORMAP : constant STRING := "colormap" & ASCII.NUL; -- DEPTH : constant STRING := "depth" & ASCII.NUL; -- DESTROYCALLBACK : constant STRING := "destroyCallback" & ASCII.NUL; DIRMASK : constant STRING := "dirMask" & ASCII.NUL; DIRSPEC : constant STRING := "dirSpec" & ASCII.NUL; DISARMCALLBACK : constant STRING := "disarmCallback" & ASCII.NUL; EDITTYPE : constant STRING := "editType" & ASCII.NUL; ENTRYALIGNMENT : constant STRING := "entryAlignment" & ASCII.NUL; ENTRYBORDER : constant STRING := "entryBorder" & ASCII.NUL; ENTRYCLASS : constant STRING := "entryClass" & ASCII.NUL; ENTRYCALLBACK : constant STRING := "entryCallback" & ASCII.NUL; EXPOSECALLBACK : constant STRING := "exposeCallback" & ASCII.NUL; FILE : constant STRING := "file" & ASCII.NUL; FILESEARCHPROC : constant STRING := "fileSearchProc" & ASCII.NUL; FILLONSELECT : constant STRING := "fillOnSelect" & ASCII.NUL; FILTERLABELSTRING : constant STRING := "filterLabelString" & ASCII.NUL; FONT : constant STRING := "font" & ASCII.NUL; FONTLIST : constant STRING := "fontList" & ASCII.NUL; FORCEBARS : constant STRING := "forceBars" & ASCII.NUL; -- 'function' is a reserved word FUNCTIONSTR : constant STRING := "function" & ASCII.NUL; -- HEIGHT : constant STRING := "height" & ASCII.NUL; HIGHLIGHT : constant STRING := "highlight" & ASCII.NUL; INDEX : constant STRING := "index" & ASCII.NUL; INDICATORON : constant STRING := "indicatorOn" & ASCII.NUL; INDICATORTYPE : constant STRING := "indicatorType" & ASCII.NUL; INNERHEIGHT : constant STRING := "innerHeight" & ASCII.NUL; INNERWIDTH : constant STRING := "innerWidth" & ASCII.NUL; INNERWINDOW : constant STRING := "innerWindow" & ASCII.NUL; INTERNALHEIGHT : constant STRING := "internalHeight" & ASCII.NUL; INTERNALWIDTH : constant STRING := "internalWidth" & ASCII.NUL; ISALIGNED : constant STRING := "isAligned" & ASCII.NUL; ISHOMOGENEOUS : constant STRING := "isHomogeneous" & ASCII.NUL; JUMPPROC : constant STRING := "jumpProc" & ASCII.NUL; JUSTIFY : constant STRING := "justify" & ASCII.NUL; LABELINSENSITIVEPIXMAP : constant STRING := "labelInsensitivePixmap" & ASCII.NUL; LABELPIXMAP : constant STRING := "labelPixmap" & ASCII.NUL; LABELSTRING : constant STRING := "labelString" & ASCII.NUL; LABELTYPE : constant STRING := "labelType" & ASCII.NUL; LENGTH : constant STRING := "length" & ASCII.NUL; LISTUPDATED : constant STRING := "listUpdated" & ASCII.NUL; LOWERRIGHT : constant STRING := "lowerRight" & ASCII.NUL; MAPCALLBACK : constant STRING := "mapCallback" & ASCII.NUL; -- MAPPEDWHENMANAGED : constant STRING := "mappedWhenManaged" & ASCII.NUL; MAPPINGDELAY : constant STRING := "mappingDelay" & ASCII.NUL; MARGINHEIGHT : constant STRING := "marginHeight" & ASCII.NUL; MARGINTOP : constant STRING := "marginTop" & ASCII.NUL; MARGINBOTTOM : constant STRING := "marginBottom" & ASCII.NUL; MARGINWIDTH : constant STRING := "marginWidth" & ASCII.NUL; MARGINRIGHT : constant STRING := "marginRight" & ASCII.NUL; MARGINLEFT : constant STRING := "marginLeft" & ASCII.NUL; MENUACCELERATOR : constant STRING := "menuAccelerator" & ASCII.NUL; MENUCURSOR : constant STRING := "menuCursor" & ASCII.NUL; MENUENTRY : constant STRING := "menuEntry" & ASCII.NUL; MENUHELPWIDGET : constant STRING := "menuHelpWidget" & ASCII.NUL; MENUHISTORY : constant STRING := "menuHistory" & ASCII.NUL; MNEMONIC : constant STRING := "mnemonic" & ASCII.NUL; NAME : constant STRING := "name" & ASCII.NUL; NOTIFY : constant STRING := "notify" & ASCII.NUL; NUMCOLUMNS : constant STRING := "numColumns" & ASCII.NUL; ORIENTATION : constant STRING := "orientation" & ASCII.NUL; PACKING : constant STRING := "packing" & ASCII.NUL; PARAMETER : constant STRING := "parameter" & ASCII.NUL; -- POPDOWNCALLBACK : constant STRING := "popdownCallback" & ASCII.NUL; -- POPUPCALLBACK : constant STRING := "popupCallback" & ASCII.NUL; POPUPENABLED : constant STRING := "popupEnabled" & ASCII.NUL; RADIOALWAYSONE : constant STRING := "radioAlwaysOne" & ASCII.NUL; RADIOBEHAVIOR : constant STRING := "radioBehavior" & ASCII.NUL; RECOMPUTESIZE : constant STRING := "recomputeSize" & ASCII.NUL; RESIZE : constant STRING := "resize" & ASCII.NUL; RESIZECALLBACK : constant STRING := "resizeCallback" & ASCII.NUL; REVERSEVIDEO : constant STRING := "reverseVideo" & ASCII.NUL; ROWCOLUMNTYPE : constant STRING := "rowColumnType" & ASCII.NUL; SCREEN : constant STRING := "screen" & ASCII.NUL; SCROLLPROC : constant STRING := "scrollProc" & ASCII.NUL; SCROLLDCURSOR : constant STRING := "scrollDCursor" & ASCII.NUL; SCROLLHCURSOR : constant STRING := "scrollHCursor" & ASCII.NUL; SCROLLLCURSOR : constant STRING := "scrollLCursor" & ASCII.NUL; SCROLLRCURSOR : constant STRING := "scrollRCursor" & ASCII.NUL; SCROLLUCURSOR : constant STRING := "scrollUCursor" & ASCII.NUL; SCROLLVCURSOR : constant STRING := "scrollVCursor" & ASCII.NUL; SELECTCOLOR : constant STRING := "selectColor" & ASCII.NUL; SELECTION : constant STRING := "selection" & ASCII.NUL; SELECTIONARRAY : constant STRING := "selectionArray" & ASCII.NUL; SELECTINSENSITIVEPIXMAP : constant STRING := "selectInsensitivePixmap" & ASCII.NUL; SELECTPIXMAP : constant STRING := "selectPixmap" & ASCII.NUL; -- SENSITIVE : constant STRING := "sensitive" & ASCII.NUL; SET : constant STRING := "set" & ASCII.NUL; SHADOW : constant STRING := "shadow" & ASCII.NUL; SHOWN : constant STRING := "shown" & ASCII.NUL; SPACE : constant STRING := "space" & ASCII.NUL; SPACING : constant STRING := "spacing" & ASCII.NUL; -- 'STRING' is a reserved word STRINGSTR : constant STRING := "string" & ASCII.NUL; STRINGDIRECTION : constant STRING := "stringDirection" & ASCII.NUL; SUBMENUID : constant STRING := "subMenuId" & ASCII.NUL; TEXTOPTIONS : constant STRING := "textOptions" & ASCII.NUL; TEXTSINK : constant STRING := "textSink" & ASCII.NUL; TEXTSOURCE : constant STRING := "textSource" & ASCII.NUL; THICKNESS : constant STRING := "thickness" & ASCII.NUL; THUMB : constant STRING := "thumb" & ASCII.NUL; THUMBPROC : constant STRING := "thumbProc" & ASCII.NUL; TOP : constant STRING := "top" & ASCII.NUL; -- TRANSLATIONS : constant STRING := "translations" & ASCII.NUL; UNMAPCALLBACK : constant STRING := "unmapCallback" & ASCII.NUL; UNSELECTPIXMAP : constant STRING := "unselectPixmap" & ASCII.NUL; UPDATE : constant STRING := "update" & ASCII.NUL; USEBOTTOM : constant STRING := "useBottom" & ASCII.NUL; USERIGHT : constant STRING := "useRight" & ASCII.NUL; VALUE : constant STRING := "value" & ASCII.NUL; VISIBLEWHENOFF : constant STRING := "visibleWhenOff" & ASCII.NUL; WHICHBUTTON : constant STRING := "whichButton" & ASCII.NUL; -- WIDTH : constant STRING := "width" & ASCII.NUL; WINDOW : constant STRING := "window" & ASCII.NUL; -- X : constant STRING := "x" & ASCII.NUL; -- Y : constant STRING := "y" & ASCII.NUL; -- -- ************************************************************************ -- * Resource names -- * Taken from Shell.h -- ************************************************************************ -- --ICONNAME : constant STRING := "iconName" & ASCII.NUL; --ICONPIXMAP : constant STRING := "iconPixmap" & ASCII.NUL; --ICONWINDOW : constant STRING := "iconWindow" & ASCII.NUL; --ICONMASK : constant STRING := "iconMask" & ASCII.NUL; --WINDOWGROUP : constant STRING := "windowGroup" & ASCII.NUL; --SAVEUNDER : constant STRING := "saveUnder" & ASCII.NUL; --TRANSIENT : constant STRING := "transient" & ASCII.NUL; --OVERRIDEREDIRECT : constant STRING := "overrideRedirect" & ASCII.NUL; --ALLOWSHELLRESIZE : constant STRING := "allowShellResize" & ASCII.NUL; --CREATEPOPUPCHILDPROC : constant STRING := "createPopupChildProc" & ASCII.NUL; --TITLE : constant STRING := "title" & ASCII.NUL; -- -- * -- * The following are only used at creation and can not be changed via -- * SetValues. -- * -- ARGC : constant STRING := "argc" & ASCII.NUL; ARGV : constant STRING := "argv" & ASCII.NUL; --ICONX : constant STRING := "iconX" & ASCII.NUL; --ICONY : constant STRING := "iconY" & ASCII.NUL; INPUTSTR : constant STRING := "input" & ASCII.NUL; --ICONIC : constant STRING := "iconic" & ASCII.NUL; --INITIALSTATE : constant STRING := "initialState" & ASCII.NUL; --GEOMETRY : constant STRING := "geometry" & ASCII.NUL; --MINWIDTH : constant STRING := "minWidth" & ASCII.NUL; --MINHEIGHT : constant STRING := "minHeight" & ASCII.NUL; --MAXWIDTH : constant STRING := "maxWidth" & ASCII.NUL; --MAXHEIGHT : constant STRING := "maxHeight" & ASCII.NUL; --WIDTHINC : constant STRING := "widthInc" & ASCII.NUL; --HEIGHTINC : constant STRING := "heightInc" & ASCII.NUL; --MINASPECTY : constant STRING := "minAspectY" & ASCII.NUL; --MAXASPECTY : constant STRING := "maxAspectY" & ASCII.NUL; --MINASPECTX : constant STRING := "minAspectX" & ASCII.NUL; --MAXASPECTX : constant STRING := "maxAspectX" & ASCII.NUL; --WMTIMEOUT : constant STRING := "wmTimeout" & ASCII.NUL; --WAITFORWM : constant STRING := "waitforwm" & ASCII.NUL; -- ************************************************************************ -- * Resource names -- * Taken from Vendor.h -- ************************************************************************ DELETERESPONSE : constant STRING := "deleteResponse" & ASCII.NUL; --KEYBOARDFOCUSPOLICY : constant STRING := "keyboardFocusPolicy" & ASCII.NUL; --FOCUSPOLICYCHANGED : constant STRING := "focusPolicyChanged" & ASCII.NUL; --SHELLUNITTYPE : constant STRING := "shellUnitType" & ASCII.NUL; MWMDECORATIONS : constant STRING := "mwmDecorations" & ASCII.NUL; MWMFUNCTIONS : constant STRING := "mwmFunctions" & ASCII.NUL; MWMINPUTMODE : constant STRING := "mwmInputMode" & ASCII.NUL; MWMMENU : constant STRING := "mwmMenu" & ASCII.NUL; MWMMESSAGES : constant STRING := "mwmMessages" & ASCII.NUL; -- ************************************************************************ -- * Primitive Resources -- ************************************************************************ FOREGROUND : constant STRING := "foreground" & ASCII.NUL; TRAVERSALON : constant STRING := "traversalOn" & ASCII.NUL; HIGHLIGHTONENTER : constant STRING := "highlightOnEnter" & ASCII.NUL; SIZEPOLICY : constant STRING := "sizePolicy" & ASCII.NUL; HIGHLIGHTTHICKNESS : constant STRING := "highlightThickness" & ASCII.NUL; HIGHLIGHTCOLOR : constant STRING := "highlightColor" & ASCII.NUL; HIGHLIGHTPIXMAP : constant STRING := "highlightPixmap" & ASCII.NUL; SHADOWTHICKNESS : constant STRING := "shadowThickness" & ASCII.NUL; TOPSHADOWCOLOR : constant STRING := "topShadowColor" & ASCII.NUL; TOPSHADOWPIXMAP : constant STRING := "topShadowPixmap" & ASCII.NUL; BOTTOMSHADOWCOLOR : constant STRING := "bottomShadowColor" & ASCII.NUL; BOTTOMSHADOWPIXMAP : constant STRING := "bottomShadowPixmap" & ASCII.NUL; UNITTYPE : constant STRING := "unitType" & ASCII.NUL; HELPCALLBACK : constant STRING := "helpCallback" & ASCII.NUL; USERDATA : constant STRING := "userData" & ASCII.NUL; -- ************************************************************************ -- * Manager Resources -- ************************************************************************ CHILDPOSITION : constant STRING := "childPosition" & ASCII.NUL; -- ************************************************************************ -- * Form resources -- ************************************************************************ -- Form resources HORIZONTALSPACING : constant STRING := "horizontalSpacing" & ASCII.NUL; VERTICALSPACING : constant STRING := "verticalSpacing" & ASCII.NUL; FRACTIONBASE : constant STRING := "fractionBase" & ASCII.NUL; RUBBERPOSITIONING : constant STRING := "rubberPositioning" & ASCII.NUL; RESIZEPOLICY : constant STRING := "resizePolicy" & ASCII.NUL; -- Form constraint resources TOPATTACHMENT : constant STRING := "topAttachment" & ASCII.NUL; BOTTOMATTACHMENT : constant STRING := "bottomAttachment" & ASCII.NUL; LEFTATTACHMENT : constant STRING := "leftAttachment" & ASCII.NUL; RIGHTATTACHMENT : constant STRING := "rightAttachment" & ASCII.NUL; TOPWIDGET : constant STRING := "topWidget" & ASCII.NUL; BOTTOMWIDGET : constant STRING := "bottomWidget" & ASCII.NUL; LEFTWIDGET : constant STRING := "leftWidget" & ASCII.NUL; RIGHTWIDGET : constant STRING := "rightWidget" & ASCII.NUL; TOPPOSITION : constant STRING := "topPosition" & ASCII.NUL; BOTTOMPOSITION : constant STRING := "bottomPosition" & ASCII.NUL; LEFTPOSITION : constant STRING := "leftPosition" & ASCII.NUL; RIGHTPOSITION : constant STRING := "rightPosition" & ASCII.NUL; TOPOFFSET : constant STRING := "topOffset" & ASCII.NUL; BOTTOMOFFSET : constant STRING := "bottomOffset" & ASCII.NUL; LEFTOFFSET : constant STRING := "leftOffset" & ASCII.NUL; RIGHTOFFSET : constant STRING := "rightOffset" & ASCII.NUL; RESIZABLE : constant STRING := "resizable" & ASCII.NUL; -- ************************************************************************ -- * PushButton -- ************************************************************************ FILLONARM : constant STRING := "fillOnArm" & ASCII.NUL; ARMCOLOR : constant STRING := "armColor" & ASCII.NUL; ARMPIXMAP : constant STRING := "armPixmap" & ASCII.NUL; SHOWASDEFAULT : constant STRING := "showAsDefault" & ASCII.NUL; -- ************************************************************************ -- * DrawnButton -- ************************************************************************ PUSHBUTTONENABLED : constant STRING := "pushButtonEnabled" & ASCII.NUL; SHADOWTYPE : constant STRING := "shadowType" & ASCII.NUL; -- ************************************************************************ -- * Arrow -- ************************************************************************ ARROWDIRECTION : constant STRING := "arrowDirection" & ASCII.NUL; ACTIVATECALLBACK : constant STRING := "activateCallback" & ASCII.NUL; -- ************************************************************************ -- * Separator -- ************************************************************************ MARGIN : constant STRING := "margin" & ASCII.NUL; SEPARATORTYPE : constant STRING := "separatorType" & ASCII.NUL; -- ************************************************************************ -- * ScrollBar resource names -- ************************************************************************ -- Resources for scrollbar -- MINIMUM : constant STRING := "minimum" & ASCII.NUL; MAXIMUM : constant STRING := "maximum" & ASCII.NUL; SLIDERSIZE : constant STRING := "sliderSize" & ASCII.NUL; SHOWARROWS : constant STRING := "showArrows" & ASCII.NUL; PROCESSINGDIRECTION : constant STRING := "processingDirection" & ASCII.NUL; INCREMENT : constant STRING := "increment" & ASCII.NUL; PAGEINCREMENT : constant STRING := "pageIncrement" & ASCII.NUL; INITIALDELAY : constant STRING := "initialDelay" & ASCII.NUL; REPEATDELAY : constant STRING := "repeatDelay" & ASCII.NUL; VALUECHANGEDCALLBACK : constant STRING := "valueChangedCallback" & ASCII.NUL; INCREMENTCALLBACK : constant STRING := "incrementCallback" & ASCII.NUL; DECREMENTCALLBACK : constant STRING := "decrementCallback" & ASCII.NUL; PAGEINCREMENTCALLBACK : constant STRING := "pageIncrementCallback" & ASCII.NUL; PAGEDECREMENTCALLBACK : constant STRING := "pageDecrementCallback" & ASCII.NUL; TOTOPCALLBACK : constant STRING := "toTopCallback" & ASCII.NUL; TOBOTTOMCALLBACK : constant STRING := "toBottomCallback" & ASCII.NUL; DRAGCALLBACK : constant STRING := "dragCallback" & ASCII.NUL; -- ************************************************************************ -- * * -- * List Widget resources -- * * -- ************************************************************************ LISTSPACING : constant STRING := "listSpacing" & ASCII.NUL; LISTMARGINWIDTH : constant STRING := "listMarginWidth" & ASCII.NUL; LISTMARGINHEIGHT : constant STRING := "listMarginHeight" & ASCII.NUL; ITEMS : constant STRING := "items" & ASCII.NUL; ITEMCOUNT : constant STRING := "itemCount" & ASCII.NUL; SELECTEDITEMS : constant STRING := "selectedItems" & ASCII.NUL; SELECTEDITEMCOUNT : constant STRING := "selectedItemCount" & ASCII.NUL; VISIBLEITEMCOUNT : constant STRING := "visibleItemCount" & ASCII.NUL; SELECTIONPOLICY : constant STRING := "selectionPolicy" & ASCII.NUL; LISTSIZEPOLICY : constant STRING := "listSizePolicy" & ASCII.NUL; DOUBLECLICKINTERVAL : constant STRING := "doubleClickInterval" & ASCII.NUL; SINGLESELECTIONCALLBACK : constant STRING := "singleSelectionCallback" & ASCII.NUL; MULTIPLESELECTIONCALLBACK : constant STRING := "multipleSelectionCallback" & ASCII.NUL; EXTENDEDSELECTIONCALLBACK : constant STRING := "extendedSelectionCallback" & ASCII.NUL; BROWSESELECTIONCALLBACK : constant STRING := "browseSelectionCallback" & ASCII.NUL; DEFAULTACTIONCALLBACK : constant STRING := "defaultActionCallback" & ASCII.NUL; AUTOMATICSELECTION : constant STRING := "automaticSelection" & ASCII.NUL; -- ************************************************************************ -- * * -- * Scrolled Window defines. * -- * * -- ************************************************************************ HORIZONTALSCROLLBAR : constant STRING := "horizontalScrollBar" & ASCII.NUL; VERTICALSCROLLBAR : constant STRING := "verticalScrollBar" & ASCII.NUL; WORKWINDOW : constant STRING := "workWindow" & ASCII.NUL; CLIPWINDOW : constant STRING := "clipWindow" & ASCII.NUL; SCROLLINGPOLICY : constant STRING := "scrollingPolicy" & ASCII.NUL; VISUALPOLICY : constant STRING := "visualPolicy" & ASCII.NUL; SCROLLBARDISPLAYPOLICY : constant STRING := "scrollBarDisplayPolicy" & ASCII.NUL; SCROLLBARPLACEMENT : constant STRING := "scrollBarPlacement" & ASCII.NUL; UPDATESLIDERSIZE : constant STRING := "updateSliderSize" & ASCII.NUL; SCROLLEDWINDOWMARGINHEIGHT : constant STRING := "scrolledWindowMarginHeight" & ASCII.NUL; SCROLLEDWINDOWMARGINWIDTH : constant STRING := "scrolledWindowMarginWidth" & ASCII.NUL; -- ************************************************************************ -- * * -- * MainWindow Resources * -- * * -- ************************************************************************ COMMANDWINDOW : constant STRING := "commandWindow" & ASCII.NUL; MENUBAR : constant STRING := "menuBar" & ASCII.NUL; MAINWINDOWMARGINHEIGHT : constant STRING := "mainWindowMarginHeight" & ASCII.NUL; MAINWINDOWMARGINWIDTH : constant STRING := "mainWindowMarginWidth" & ASCII.NUL; SHOWSEPARATOR : constant STRING := "showSeparator" & ASCII.NUL; -- ************************************************************************ -- * * -- * Text Widget defines * -- * * -- ************************************************************************ SOURCE : constant STRING := "source" & ASCII.NUL; OUTPUTCREATE : constant STRING := "outputCreate" & ASCII.NUL; INPUTCREATE : constant STRING := "inputCreate" & ASCII.NUL; AUTOSHOWCURSORPOSITION : constant STRING := "autoShowCursorPosition" & ASCII.NUL; CURSORPOSITION : constant STRING := "cursorPosition" & ASCII.NUL; EDITABLE : constant STRING := "editable" & ASCII.NUL; MAXLENGTH : constant STRING := "maxLength" & ASCII.NUL; FOCUSCALLBACK : constant STRING := "focusCallback" & ASCII.NUL; LOSINGFOCUSCALLBACK : constant STRING := "losingFocusCallback" & ASCII.NUL; MODIFYVERIFYCALLBACK : constant STRING := "modifyVerifyCallback" & ASCII.NUL; MOTIONVERIFYCALLBACK : constant STRING := "motionVerifyCallback" & ASCII.NUL; EXECUTECALLBACK : constant STRING := "executeCallback" & ASCII.NUL; WORDWRAP : constant STRING := "wordWrap" & ASCII.NUL; BLINKRATE : constant STRING := "blinkRate" & ASCII.NUL; RESIZEWIDTH : constant STRING := "resizeWidth" & ASCII.NUL; RESIZEHEIGHT : constant STRING := "resizeHeight" & ASCII.NUL; SCROLLHORIZONTAL : constant STRING := "scrollHorizontal" & ASCII.NUL; SCROLLVERTICAL : constant STRING := "scrollVertical" & ASCII.NUL; SCROLLLEFTSIDE : constant STRING := "scrollLeftSide" & ASCII.NUL; SCROLLTOPSIDE : constant STRING := "scrollTopSide" & ASCII.NUL; CURSORPOSITIONVISIBLE : constant STRING := "cursorPositionVisible" & ASCII.NUL; TOPOSITIONCALLBACK : constant STRING := "toPositionCallback" & ASCII.NUL; COLUMNS : constant STRING := "columns" & ASCII.NUL; ROWS : constant STRING := "rows" & ASCII.NUL; SELECTTHRESHOLD : constant STRING := "selectThreshold" & ASCII.NUL; SELECTIONARRAYCOUNT : constant STRING := "selectionArrayCount" & ASCII.NUL; PENDINGDELETE : constant STRING := "pendingDelete" & ASCII.NUL; EDITMODE : constant STRING := "editMode" & ASCII.NUL; -- ************************************************************************ -- * * -- * VPaned Widget defines * -- * * -- ************************************************************************ -- -- Resources for Vertical Paned Window REFIGUREMODE : constant STRING := "refigureMode" & ASCII.NUL; SEPARATORON : constant STRING := "separatorOn" & ASCII.NUL; SASHINDENT : constant STRING := "sashIndent" & ASCII.NUL; SASHWIDTH : constant STRING := "sashWidth" & ASCII.NUL; SASHHEIGHT : constant STRING := "sashHeight" & ASCII.NUL; SASHSHADOWTHICKNESS : constant STRING := "sashShadowThickness" & ASCII.NUL; -- Constraint Resources for Vertical Paned Window ALLOWRESIZE : constant STRING := "allowResize" & ASCII.NUL; SKIPADJUST : constant STRING := "skipAdjust" & ASCII.NUL; -- ************************************************************************ -- * * -- * DrawingArea defines -- * * -- ************************************************************************ INPUTCALLBACK : constant STRING := "inputCallback" & ASCII.NUL; -- ************************************************************************ -- * * -- * DIALOG defines.. BulletinBoard and things common to its subclasses * -- * CommandBox MessageBox Selection FileSelection * -- * * -- ************************************************************************ -- OKCALLBACK : constant STRING := "okCallback" & ASCII.NUL; CANCELCALLBACK : constant STRING := "cancelCallback" & ASCII.NUL; APPLYCALLBACK : constant STRING := "applyCallback" & ASCII.NUL; NOMATCHCALLBACK : constant STRING := "noMatchCallback" & ASCII.NUL; COMMANDENTEREDCALLBACK : constant STRING := "commandEnteredCallback" & ASCII.NUL; COMMANDCHANGEDCALLBACK : constant STRING := "commandChangedCallback" & ASCII.NUL; OKLABELSTRING : constant STRING := "okLabelString" & ASCII.NUL; CANCELLABELSTRING : constant STRING := "cancelLabelString" & ASCII.NUL; HELPLABELSTRING : constant STRING := "helpLabelString" & ASCII.NUL; APPLYLABELSTRING : constant STRING := "applyLabelString" & ASCII.NUL; SELECTIONLABELSTRING : constant STRING := "selectionLabelString" & ASCII.NUL; LISTLABELSTRING : constant STRING := "listLabelString" & ASCII.NUL; PROMPTSTRING : constant STRING := "promptString" & ASCII.NUL; DEFAULTBUTTON : constant STRING := "defaultButton" & ASCII.NUL; CANCELBUTTON : constant STRING := "cancelButton" & ASCII.NUL; BUTTONFONTLIST : constant STRING := "buttonFontList" & ASCII.NUL; LABELFONTLIST : constant STRING := "labelFontList" & ASCII.NUL; TEXTFONTLIST : constant STRING := "textFontList" & ASCII.NUL; TEXTTRANSLATIONS : constant STRING := "textTranslations" & ASCII.NUL; ALLOWOVERLAP : constant STRING := "allowOverlap" & ASCII.NUL; DEFAULTPOSITION : constant STRING := "defaultPosition" & ASCII.NUL; AUTOUNMANAGE : constant STRING := "autoUnmanage" & ASCII.NUL; DIALOGTITLE : constant STRING := "dialogTitle" & ASCII.NUL; NORESIZE : constant STRING := "noResize" & ASCII.NUL; DIALOGSTYLE : constant STRING := "dialogStyle" & ASCII.NUL; -- ************************************************************************ -- * XmSelectionBox, XmFileSelectionBox and XmCommand - misc. stuff * -- ************************************************************************ MUSTMATCH : constant STRING := "mustMatch" & ASCII.NUL; LISTITEMS : constant STRING := "listItems" & ASCII.NUL; LISTITEMCOUNT : constant STRING := "listItemCount" & ASCII.NUL; LISTVISIBLEITEMCOUNT : constant STRING := "listVisibleItemCount" & ASCII.NUL; HISTORYITEMS : constant STRING := "historyItems" & ASCII.NUL; HISTORYITEMCOUNT : constant STRING := "historyItemCount" & ASCII.NUL; HISTORYVISIBLEITEMCOUNT : constant STRING := "historyVisibleItemCount" & ASCII.NUL; HISTORYMAXITEMS : constant STRING := "historyMaxItems" & ASCII.NUL; TEXTACCELERATORS : constant STRING := "textAccelerators" & ASCII.NUL; TEXTVALUE : constant STRING := "textValue" & ASCII.NUL; TEXTSTRING : constant STRING := "textString" & ASCII.NUL; TEXTCOLUMNS : constant STRING := "textColumns" & ASCII.NUL; COMMAND : constant STRING := "command" & ASCII.NUL; -- ************************************************************************ -- * XmMessageBox stuff not common to other dialogs * -- ************************************************************************ DEFAULTBUTTONTYPE : constant STRING := "defaultButtonType" & ASCII.NUL; MINIMIZEBUTTONS : constant STRING := "minimizeButtons" & ASCII.NUL; MESSAGESTRING : constant STRING := "messageString" & ASCII.NUL; MESSAGEALIGNMENT : constant STRING := "messageAlignment" & ASCII.NUL; SYMBOLPIXMAP : constant STRING := "symbolPixmap" & ASCII.NUL; DIALOGTYPE : constant STRING := "dialogType" & ASCII.NUL; -- ************************************************************************ -- * Resource names used by XmScale -- ************************************************************************ SCALEWIDTH : constant STRING := "scaleWidth" & ASCII.NUL; SCALEHEIGHT : constant STRING := "scaleHeight" & ASCII.NUL; DECIMALPOINTS : constant STRING := "decimalPoints" & ASCII.NUL; SHOWVALUE : constant STRING := "showValue" & ASCII.NUL; TITLESTRING : constant STRING := "titleString" & ASCII.NUL; end XM_WIDGET_SET_PRIVATE; package body XM_WIDGET_SET_PRIVATE is end;