Document revision date: 10 November 2000
[Compaq] [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]
[OpenVMS documentation]

DECwindows Extensions to Motif


Previous Contents Index

3.3.3 WML Files on UNIX and Windows NT Systems

Digital includes the following files to support WML databases on UNIX and Windows NT operating systems:

When adding new widgets or changing widget characteristics, start with a copy of one of the two WML files. Use dxm-motif.wml if you are using any Digital widgets. Use the motif.wml files if your application requires a strict OSF/Motif widget set.

Digital has also included the following two WMD files (which correspond to the two WML files):

3.3.4 Supporting Additional Widgets on UNIX and Windows NT Systems

To allow you to add UIL support for additional widgets, Digital has provided you with the following files for UNIX and Windows NT systems:

To add UIL support for additional widgets, follow these steps:

  1. Copy the wml files into your directory.
  2. Extend the wml file to add support for your new widgets.
  3. Add your widget's public include file to the wmldbcreate.c file.
  4. Execute the script file by entering a command in following format:

    xmkmf filename

  5. Issue the make all command to produce the makefile. This makefile performs three major functions:
    1. Runs wml to create .h files.
    2. Compiles, links, and runs a modified wmldbcreate.c.
    3. Cleans up. (If the command procedure does not finish successfully, it will not clean up the extra files generated. Delete any extra files before running the command procedure again.)

    After you execute this script file, you will have a wmd file that the UIL compiler will use instead of the internal database.
    An mm documentation file is created. This file is a troff mm macro format file. You can use the mm file on UNIX systems to create a copy of the UIL built-in tables for your own widget set.
  6. Invoke the UIL compiler by entering a command in the following format:

    uil -d filenamenew.wmd filename.uil -o filename.uid


Appendix A
UIL Built-In Tables

This appendix lists all the UIL built-in tables used to check that your UIL specification is consistent with the DECwindows Motif Toolkit. The Digital specific arguments are listed first in each table, followed by the OSF/Motif arguments.

For each object in the DECwindows Motif toolkit, this appendix contains a table that lists the reasons, controls (children), and arguments (widget resources) that UIL supports. It also lists the data type and default value of each supported argument.

The default values have been included to indicate the behavior of the object when you do not specify particular arguments in the UIL module. For example, if you do not specify the highlight color for an object, the object is displayed with black as the highlight color.

The UIL name for an argument is identical to the DECwindows Motif Toolkit name for that argument. Callback resources in the DECwindows Motif Toolkit are represented by reasons in UIL. In cases where the DECwindows Motif toolkit resource name is a UIL keyword, the UIL name for the argument has been configured to avoid ambiguity; the argument name is appended to the object name (or an abbreviated form of it).

Some arguments take a symbolic reference to a widget as their value. These arguments are denoted by the term object reference in the type column for the argument. To specify a symbolic reference to a widget ID, supply the type and name of an object that is defined in your UIL module.

For example:


 
     arguments { 
          XmNdefaultButton = XmPushButton My_push_button; 
     }; 
 

A.1 DXmColorMix

Controls Reasons
AllWidgetsAndGadgets MrmNcreateCallback
  XmNapplyCallback
  XmNcancelCallback
  XmNdestroyCallback
  XmNfocusCallback
  XmNhelpCallback
  XmNokCallback
UIL Argument Name Argument Type Default Value
DXmNbackBlueValue integer 32767
DXmNbackGreenValue integer 32767
DXmNbackRedValue integer 32767
DXmNblackLabel compound_string Black
DXmNblueLabel compound_string Blue
DXmNbrowserItemCount integer 5
DXmNbrowserLabel compound_string Browser
DXmNclearLabel compound_string Clear
DXmNcolorModel integer DXmColorModelPicker
DXmNcoolerLabel compound_string Cooler
DXmNdarkerLabel compound_string Darker
DXmNdisplayColWinHeight integer 80
DXmNdisplayColWinWidth integer 80
DXmNdisplayLabel compound_string Null
DXmNdisplayWindow widget_ref default
DXmNdispWinMargin integer 20
DXmNearthtoneLabel compound_string Earthtones
DXmNfullLabel compound_string Full
DXmNgrayLabel compound_string Gray
DXmNgreenLabel compound_string Green
DXmNgreyscaleLabel compound_string Grayscale
DXmNgreyscaleOnGreyscale boolean True
DXmNhelpLabel compound_string Help
DXmNhlsLabel compound_string HLS
DXmNhueLabel compound_string Hue:
DXmNinterpTileCount integer 10
DXmNinterpTileHeight integer 30
DXmNinterpTileWidth integer 30
DXmNinterpTitleLabel compound_string Interpolator
DXmNlighterLabel compound_string Lighter
DXmNlightLabel compound_string Lightness:
DXmNlightnessIncrement integer 5
DXmNmainLabel compound_string Null
DXmNmatchColors boolean True
DXmNmixerLabel compound_string Null
DXmNmixerWindow widget_ref default
DXmNnewBlueValue integer 0
DXmNnewGreenValue integer 0
DXmNnewRedValue integer 0
DXmNoptionLabel compound_string Color Model:
DXmNorigBlueValue integer 0
DXmNorigGreenValue integer 0
DXmNorigRedValue integer 0
DXmNpastelLabel compound_string Pastels
DXmNpickerLabel compound_string Picker
DXmNpickerTileHeight integer 30
DXmNpickerTileWidth integer 30
DXmNpickerTitleLabel compound_string Spectrum
DXmNredLabel compound_string Red
DXmNresetLabelString compound_string Reset
DXmNrgbLabel compound_string RGB
DXmNsatLabel compound_string Saturation:
DXmNscratchPadInfoLabel compound_string Save colors here...
DXmNscratchPadLabel compound_string Scratch Pad...
DXmNsetMixerColorProc any default
DXmNsetNewColorProc any default
DXmNsliderLabel compound_string Percentage
DXmNsmearLabel compound_string Smear
DXmNspectrumLabel compound_string Spectrum
DXmNundoLabel compound_string Undo
DXmNuserPaletteLabel compound_string User palette
DXmNvalueLabel compound_string Value
DXmNvividLabel compound_string Vivids
DXmNwarmerLabel compound_string Warmer
DXmNwarmthIncrement integer 5000
DXmNwhiteLabel compound_string White
XmNaccelerators translation_table Null
XmNallowOverlap boolean True
XmNancestorSensitive boolean True
XmNapplyLabelString compound_string Apply
XmNautoUnmanage boolean True
XmNbackground color White
XmNbackgroundPixmap pixmap XmUNSPECIFIED_PIXMAP
XmNborderColor color Black
XmNborderPixmap pixmap XmUNSPECIFIED_PIXMAP
XmNborderWidth integer 1
XmNbottomShadowColor color dynamic
XmNbottomShadowPixmap pixmap XmUNSPECIFIED_PIXMAP
XmNbuttonFontList font_table Null
XmNcancelButton widget_ref Null
XmNcancelLabelString compound_string Cancel
XmNcolormap identifier dynamic
XmNdefaultButton widget_ref Null
XmNdefaultPosition boolean True
XmNdepth identifier dynamic
XmNdialogStyle integer dynamic
XmNdialogTitle compound_string Null
XmNforeground color dynamic
XmNheight integer 0
XmNhighlightColor color Black
XmNhighlightPixmap pixmap dynamic
XmNinitialResourcesPersistent boolean True
XmNinsertPosition identifier Null
XmNlabelFontList font_table Null
XmNmappedWhenManaged boolean True
XmNmarginHeight integer 10
XmNmarginWidth integer 10
XmNnavigationType integer XmTAB_GROUP
XmNnoResize boolean False
XmNokLabelString compound_string OK
XmNresizePolicy integer XmRESIZE_ANY
XmNscreen identifier dynamic
XmNsensitive boolean True
XmNshadowThickness integer 0
XmNshadowType integer XmSHADOW_OUT
XmNstringDirection integer XmSTRING_DIRECTION_L_TO_R
XmNtextFontList font_table Null
XmNtextTranslations translation_table Null
XmNtopShadowColor color dynamic
XmNtopShadowPixmap pixmap XmUNSPECIFIED_PIXMAP
XmNtranslations translation_table Null
XmNtraversalOn boolean False
XmNunitType integer XmPIXELS
XmNuserData any Null
XmNwidth integer 0
XmNworkWindow widget_ref Null
XmNx integer 0
XmNy integer 0

A.2 DXmColorMixDialog

Controls Reasons
AllWidgetsAndGadgets MrmNcreateCallback
  XmNapplyCallback
  XmNcancelCallback
  XmNdestroyCallback
  XmNfocusCallback
  XmNhelpCallback
  XmNmapCallback
  XmNokCallback
  XmNunmapCallback
UIL Argument Name Argument Type Default Value
DXmNbackBlueValue integer 32767
DXmNbackGreenValue integer 32767
DXmNbackRedValue integer 32767
DXmNblackLabel compound_string Black
DXmNblueLabel compound_string Blue
DXmNbrowserItemCount integer 5
DXmNbrowserLabel compound_string Browser
DXmNclearLabel compound_string Clear
DXmNcolorModel integer DXmColorModelPicker
DXmNcoolerLabel compound_string Cooler
DXmNdarkerLabel compound_string Darker
DXmNdispWinMargin integer 20
DXmNdisplayColWinHeight integer 80
DXmNdisplayColWinWidth integer 80
DXmNdisplayLabel compound_string Null
DXmNdisplayWindow widget_ref default
DXmNearthtoneLabel compound_string Earthtones
DXmNfullLabel compound_string Full
DXmNgrayLabel compound_string Gray
DXmNgreenLabel compound_string Green
DXmNgreyscaleLabel compound_string Grayscale
DXmNgreyscaleOnGreyscale boolean True
DXmNhelpLabel compound_string Help
DXmNhlsLabel compound_string HLS
DXmNhueLabel compound_string Hue:
DXmNinterpTileCount integer 10
DXmNinterpTileHeight integer 30
DXmNinterpTileWidth integer 30
DXmNinterpTitleLabel compound_string Interpolator
DXmNlighterLabel compound_string Lighter
DXmNlightLabel compound_string Lightness:
DXmNlightnessIncrement integer 5
DXmNmainLabel compound_string Null
DXmNmatchColors boolean True
DXmNmixerLabel compound_string Null
DXmNmixerWindow widget_ref default
DXmNnewBlueValue integer 0
DXmNnewGreenValue integer 0
DXmNnewRedValue integer 0
DXmNoptionLabel compound_string Color Model:
DXmNorigBlueValue integer 0
DXmNorigGreenValue integer 0
DXmNorigRedValue integer 0
DXmNpastelLabel compound_string Pastels
DXmNpickerLabel compound_string Picker
DXmNpickerTileHeight integer 30
DXmNpickerTileWidth integer 30
DXmNpickerTitleLabel compound_string Spectrum
DXmNredLabel compound_string Red
DXmNresetLabelString compound_string Reset
DXmNrgbLabel compound_string RGB
DXmNsatLabel compound_string Saturation:
DXmNscratchPadInfoLabel compound_string Save colors here...
DXmNscratchPadLabel compound_string Scratch Pad...
DXmNsetMixerColorProc any default
DXmNsetNewColorProc any default
DXmNsliderLabel compound_string Percentage
DXmNsmearLabel compound_string Smear
DXmNspectrumLabel compound_string Spectrum
DXmNundoLabel compound_string Undo
DXmNuserPaletteLabel compound_string User palette
DXmNvalueLabel compound_string Value
DXmNvividLabel compound_string Vivids
DXmNwarmerLabel compound_string Warmer
DXmNwarmthIncrement integer 5000
DXmNwhiteLabel compound_string White
XmNaccelerators translation_table Null
XmNallowOverlap boolean True
XmNancestorSensitive boolean True
XmNapplyLabelString compound_string Apply
XmNautoUnmanage boolean True
XmNbackground color White
XmNbackgroundPixmap pixmap XmUNSPECIFIED_PIXMAP
XmNborderColor color Black
XmNborderPixmap pixmap XmUNSPECIFIED_PIXMAP
XmNborderWidth integer 1
XmNbottomShadowColor color dynamic
XmNbottomShadowPixmap pixmap XmUNSPECIFIED_PIXMAP
XmNbuttonFontList font_table Null
XmNcancelButton widget_ref Null
XmNcancelLabelString compound_string Cancel
XmNcolormap identifier dynamic
XmNdefaultButton widget_ref Null
XmNdefaultPosition boolean True
XmNdepth identifier dynamic
XmNdialogStyle integer dynamic
XmNdialogTitle compound_string Null
XmNforeground color dynamic
XmNheight integer 0
XmNhighlightColor color Black
XmNhighlightPixmap pixmap dynamic
XmNinitialResourcesPersistent boolean True
XmNinsertPosition identifier Null
XmNlabelFontList font_table Null
XmNmappedWhenManaged boolean True
XmNmarginHeight integer 10
XmNmarginWidth integer 10
XmNnavigationType integer XmTAB_GROUP
XmNnoResize boolean False
XmNokLabelString compound_string OK
XmNresizePolicy integer XmRESIZE_ANY
XmNscreen identifier dynamic
XmNsensitive boolean True
XmNshadowThickness integer 0
XmNshadowType integer XmSHADOW_OUT
XmNstringDirection integer XmSTRING_DIRECTION_L_TO_R
XmNtextFontList font_table Null
XmNtextTranslations translation_table Null
XmNtopShadowColor color dynamic
XmNtopShadowPixmap pixmap XmUNSPECIFIED_PIXMAP
XmNtranslations translation_table Null
XmNtraversalOn boolean False
XmNunitType integer XmPIXELS
XmNuserData any Null
XmNwidth integer 0
XmNworkWindow widget_ref Null
XmNx integer 0
XmNy integer 0


Previous Next Contents Index

  [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]  
  privacy and legal statement  
5635PRO_016.HTML