5 The MLWorks Motif Interface Library

5.10 Identifier reference

Most functions are grouped into substructures. Each substructure defines operations on a particular type or a particular sort of widget.

The following tables contain mappings from MLWorks Motif interface library identifiers to their corresponding X Window System and Motif identifiers
Top-level Xm structure identifiers
ML identifierC identifier
isMotifWMRunningXmIsMotifWMRunning
updateDisplayXmUpdateDisplay
syncXSync
synchronizeXSynchronize

Display structure identifiers
ML identifierC identifier
bellXbell
queryPointerXQueryPointer

Pixel structure identifiers
ML identifierC identifier
screenBlackBlackPixelOfScreen
screenWhiteWhitePixelOfScreen

Font structure identifiers
ML identifierC identifier
loadXLoadFont
freeXFreeFont
queryXQueryFont
textExtentsXTextExtents

Widget structure identifiers
ML identifierC identifier
createXtCreateWidget
createMenuBarXmCreateMenuBar
createPopupShellXtCreatePopupShell
createPulldownMenuXmCreatePulldownMenu
createScrolledTextXmCreateScrolledText
createManagedXm.Widget.create followed by Xm.Widget.manage
destroyXtDestroyWidget
manageXtManageChild
mapXtMapWidget
unmanageChildXtUnmanageChild
unmapXtUnMapWidget
realizeXtRealizeWidget
unrealizeXtUnrealizeWidget
isRealizedXtIsRealized
popupXtPopup
valuesSetXtSetValues
valuesGetXtGetValues
displayXtDisplay
windowXtWindow
screenXtScreen
parentXtParent
nameXtName
processTraversalXmProcessTraversal
toFrontBrings widget to the front using XReconfigureWMWindow.

Atom structure identifiers
ML identifierC identifier
internXmInternAtom
getnameXmGetAtomName

Pixmap structure identifiers
ML identifierC identifier
createXCreatePixmap
freeXFreePixmap
getXmGetPixmap
destroyXmDestroyPixmap

CascadeButton structure identifier
ML identifierC identifier
highlightXmCascadeButtonHighlight

CascadeButtonGadget structure identifier
ML identifierC identifier
highlightXmCascadeButtonGadgetHighlight

CompoundString structure identifiers
ML identifierC identifier
baselineXmStringBaseline
byteCompareXmStringByteCompare
compareXmStringCompare
concatXmStringConcat
copyXmStringCopy
createXmStringCreate
createLtoRXmStringCreateLtoR
createSimpleXmStringCreateSimple
directionCreateXmStringDirectionCreate
emptyXmStringEmpty
extentXmStringExtent
freeXmStringFree
hasSubstringXmStringHasSubstring
heightXmStringHeight
lengthXmStringLength
lineCountXmStringLineCount
nConcatXmStringNConcat
nCopyXmStringNCopy
widthXmStringWidth
convertStringTextno corresponding identifier

The function convertStringText is a convenience function that extracts a simple string from a compound string.

FileSelectionBox structure identifiers
ML identifierC identifier
getChildXmFileSelectionBoxGetChild
doSearchXmFileSelectionDoSearch

FontList structure identifiers
ML identifierC identifier
addXmFontListAdd
copyXmFontListCopy
createXmFontListCreate
freeXmFontListFree

List structure identifiers
ML identifiersC identifiers
addItemXmListAddItem
addItemUnselectedXmListAddItemUnselected
addItemsXmListAddItems
deleteAllItemsXmListDeleteAllItems
deleteItemXmListDeleteItem
deleteItemsXmListDeleteItems
deleteItemsPosXmListDeleteItemsPos
deletePosXmListDeletePos
getSelectedPosXmListGetSelectedPos
setBottomPosXmListSetBottomPos
selectPosXmListSelectPos
setPosXmListSetPos

MessageBox structure identifier
ML identifierC identifier
getChildXmMessageBoxGetChild

Scale structure identifiers
ML identifierC identifier
getValueXmScaleGetValue
setValueXmScaleSetValue

ScrollBar structure identifiers
ML identifierC identifier
getValuesXmScrollBarGetValues
setValuesXmScrollBarSetValues

ScrolledWindow structure identifier
ML identifierC identifier
setAreasXmScrolledWindowSetAreas

SelectionBox structure identifier
ML identifierC identifier
getChildXmSelectionBoxGetChild

TabGroup structure identifiers
ML identifierC identifier
addXmAddTabGroup
removeXmRemoveTabGroup

Text structure identifies
ML identifierC identifier
clearSelectionXmTextClearSelection
copyXmTextCopy
cutXmTextCut
getBaselineXmTextGetBaseline
getEditableXmTextGetEditable
getMaxLengthXmTextGetMaxLength
getInsertionPositionXmTextGetInsertionPosition
getLastPositionXmTextGetLastPosition
getSelectionXmTextGetSelection
getSelectionPositionXmTextGetSelectionPosition
getStringXmTextGetString
getTopCharacterXmTextGetTopCharacter
insertXmTextInsert
pasteXmTextPaste
posToXYXmTextPosToXY

Failure returns (-1, -1).

removeXmTextRemove

Ignores return value.

replaceXmTextReplace
scrollXmTextScroll
setAddModeXmTextSetAddMode
setEditableXmTextSetEditable
setHighlightXmTextSetHighlight
setInsertionPositionXmTextSetInsertionPosition
setMaxLengthXmTextSetMaxLength
setSelectionXmTextSetSelection
setStringXmTextSetString
setTopCharacterXmTextSetTopCharacter
showPositionXmTextShowPosition
xyToPosXmTextXyToPos

ToggleButton structure identifiers
ML identifierC identifier
getStateXmToggleButtonGetState
setStateXmToggleButtonSetState

ToggleButtonGadget structure identifiers
ML identifierC identifier
getStateXmToggleButtonGadgetGetState
setStateXmToggleButtonGadgetSetState

Translation structure identifiers
ML identifierC identifier
parseTableXtParseTranslationTable
overrideXtOverrideTranslations
augmentXtAugmentTranslations
uninstallXtUninstallTranslations

The following structures provide Xlib graphics capabilities:

GC structure identifiers
ML identifiersC identifiers
createXCreateGC
changeXChangeGC
copyXCopyGC
freeXFreeGC
setClipRectanglesXSetClipRectangles
getValuesXGetGCValues

The gc_value datatype, and the types on which it depends, enumerate the possible values that may be set in a GC. The request datatype enumerates the same values for the getValues function.

Draw structure interfaces
ML interfaceC interface
stringXDrawString
imageStringXDrawImageString
lineXDrawLine
linesXDrawLines
segmentsXDrawSegments
fillPolygonXFillPolygon
pointXDrawPoint
pointsXDrawPoints
rectangleXDrawRectangle
fillRectangleXFillRectangle
rectanglesXDrawRectangles
fillRectanglesXFillRectangles
arcXDrawArc
fillArcXFillArc
arcsXDrawArcs
fillArcsXFillArcs
clearAreaXClearArea
copyAreaXCopyArea
copyPlaneXCopyPlane

Colormap structure identifiers
ML identifierC identifier
defaultDefaultColormapOfScreen
allocColorXAllocColor
allocNamedColorXAllocNamedColor
allocColorCellsXAllocColorCells
freeColorsXFreeColors
storeColorXStoreColor
storeNamedColorXStoreNamedColor


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker