ProXT 3.5 Data Types
- Action
- Represented as
action(
ActionName,
Predicate)
,
where ActionName is the action name to be mapped
to a Prolog goal whose functor is Predicate.
- ActionsList
- Represented as a list of items of type Action.
- AnyTerm
- This can be any Prolog term
- Attribute
- Represented as a term whose functor is the resource
name and whose argument is the value of the
attribute.
- AttributeList
- Represented as a list of items of type Attribute.
- Boolean
- Represented as atom. Accepted values:
true
or false
.
- CallbackList
- Represented as a list of items of type CallbackTerm.
- CallbackProc
- This must be a Prolog predicate.
- CallbackTerm
- Represented as
callback(
Predicate,
ClientData)
,
where Predicate is the name of the callback goal
and ClientData is the callback client data.
- Calldata
- A term returned in the callback call data.
- CalldataFields
- A list of the fields and their values from the
term returned in the callback call data.
- Cardinal
- Represented as integer.
- Char
- Represented as a single character atom.
- ClipboardStatus
- Represented as atom. Accepted values:
-
xmClipboardFail
-
xmClipboardSuccess
-
xmClipboardTruncate
-
xmClipboardLocked
-
xmClipboardBadFormat
-
xmClipboardNoData
- Colormap
- Represented as integer.
- CopyStatus
- Represented as atom. Accepted values:
-
xmCOPY_FAILED
-
xmCOPY_SUCCEEDED
-
xmCOPY_TRUNCATED
- Cursor
- Represented as integer.
- Dimension
- Represented as integer.
- Display
- Represented as
xtdisplay(
Address)
.
- EventFields
- A list of the fields and their values from
the XEvent structure.
- EventProc
- This must be a Prolog predicate.
- InputProc
- This must be a Prolog predicate.
- Integer
- Of course, this is an integer.
- IntegerList
- This is a list of integers.
- KeySym
- Represented as a single character atom.
- KeySymTable
- Represented as a list of items of type KeySym.
- Pixel
- Represented as integer.
- Pixmap
- Represented as integer.
- Position
- Represented as integer.
- Screen
- Represented as
xtscreen(
Address)
.
- String
- This is an atom.
- StringTable
- Represented as a list of atoms.
- Time
- Represented as integer.
- TimerProc
- This must be a Prolog predicate.
- Visual
- Represented as integer.
- Widget
- Represented as
widget(
Address)
.
- WidgetCallbackType
- Represented as atom. Accepted values are the
resource names for resources of type CallbackProc
- WidgetClass
- Represented as atom. Accepted values:
-
compositeWidgetClass
-
constraintWidgetClass
-
coreWidgetClass
-
widgetClass
-
objectClass
-
rectObjClass
-
shellWidgetClass
-
overrideShellWidgetClass
-
wmShellWidgetClass
-
transientShellWidgetClass
-
topLevelShellWidgetClass
-
applicationShellWidgetClass
-
vendorShellWidgetClass
-
xmArrowButtonWidgetClass
-
xmArrowButtonGadgetClass
-
xmBulletinBoardWidgetClass
-
xmCascadeButtonWidgetClass
-
xmCascadeButtonGadgetClass
-
xmCommandWidgetClass
-
xmDialogShellWidgetClass
-
xmDropSiteManagerObjectClass
-
xmDragIconObjectClass
-
xmDropTransferObjectClass
-
xmDrawingAreaWidgetClass
-
xmDrawnButtonWidgetClass
-
xmFileSelectionBoxWidgetClass
-
xmFormWidgetClass
-
xmFrameWidgetClass
-
xmGadgetClass
-
xmLabelWidgetClass
-
xmLabelGadgetClass
-
xmListWidgetClass
-
xmMainWindowWidgetClass
-
xmManagerWidgetClass
-
xmMenuShellWidgetClass
-
xmMessageBoxWidgetClass
-
xmPanedWindowWidgetClass
-
xmPrimitiveWidgetClass
-
xmPushButtonWidgetClass
-
xmPushButtonGadgetClass
-
xmRowColumnWidgetClass
-
xmScaleWidgetClass
-
xmScrollBarWidgetClass
-
xmScrolledWindowWidgetClass
-
xmSelectionBoxWidgetClass
-
xmSeparatorWidgetClass
-
xmSeparatorGadgetClass
-
xmTextWidgetClass
-
xmTextFieldWidgetClass
-
xmToggleButtonWidgetClass
-
xmToggleButtonGadgetClass
- WidgetList
- Represented as a list of items of type Widget.
- Window
- Represented as integer.
- WorkProc
- This must be a Prolog predicate.
- XAtom
- Represented as integer.
- XAtomList
- Represented as a list of items of type XAtom.
- XEvent
- Represented as
xtevent(
Address)
.
- XEventMask
- Represented as a list of atoms. Accepted values:
-
keyPressMask
-
keyReleaseMask
-
buttonPressMask
-
buttonReleaseMask
-
enterWindowMask
-
leaveWindowMask
-
pointerMotionMask
-
pointerMotionHintMask
-
button1MotionMask
-
button2MotionMask
-
button3MotionMask
-
button4MotionMask
-
button5MotionMask
-
buttonMotionMask
-
keymapStateMask
-
exposureMask
-
visibilityChangeMask
-
structureNotifyMask
-
resizeRedirectMask
-
substructureNotifyMask
-
substructureRedirectMask
-
focusChangeMask
-
propertyChangeMask
-
colormapChangeMask
-
ownerGrabButtonMask
- XFont
- Represented as
xtfontstruct(
Address)
.
- XFontSet
- Represented as
xtfontset(
Address)
.
- XGC
- Represented as
xtgc(
Address)
.
- XGCMask
- Represented as a list of atoms. Accepted values:
-
gcFunction
-
gcPlaneMask
-
gcForeground
-
gcBackground
-
gcLindWidth
-
gcLineStyle
-
gcCapStyle
-
gcJoinStyle
-
gcFillStyle
-
gcFillRule
-
gcTile
-
gcStipple
-
gcTileStipXOrigin
-
gcFont
-
gcSubwindowMode
-
gcGraphicsExposures
-
gcClipXOrigin
-
gcClipYOrigin
-
gcClipMask
-
gcDashOffset
-
gcDashList
-
gcArcMode
- XGCValues
- Represented as a list of terms whose functor is the
name of a XGCMask field and whose argument is the
field value.
- XImage
- Represented as
xtimage(
Address)
.
- XRectangle
- Represented as a term of the form
rectangle(
X,
Y,
Width,
Height)
, where X, Y,
Width and Height are all integers.
- XRectangleList
- Represented as a list of items of type XRectangle.
- XmAlignment
- Represented as atom. Accepted values:
-
xmALIGNMENT_BEGINNING
-
xmALIGNMENT_CENTER
-
xmALIGNMENT_END
- XmAnimationStyle
- Represented at atom. Accepted values:
-
xmDRAG_UNDER_NONE
-
xmDRAG_UNDER_PIXMAP
-
xmDRAG_UNDER_SHADOW_IN
-
xmDRAG_UNDER_SHADOW_OUT
-
xmDRAG_UNDER_HIGHLIGHT
- XmArrowDirection
- Represented as atom. Accepted values:
-
xmARROW_UP
-
xmARROW_DOWN
-
xmARROW_LEFT
-
xmARROW_RIGHT
- XmAttachment
- Represented as atom. Accepted values:
-
xmATTACH_NONE
-
xmATTACH_FORM
-
xmATTACH_OPPOSITE_FORM
-
xmATTACH_WIDGET
-
xmATTACH_OPPOSITE_WIDGET
-
xmATTACH_POSITION
-
xmATTACH_SELF
- XmAudibleWarning
- Represented as atom. Accepted values:
- XmBlendModel
- Represented as atom. Accepted values:
-
xmBLEND_ALL
-
xmBLEND_STATE_SOURCE
-
xmBLEND_JUST_SOURCE
-
xmBLEND_NONE
- XmButtonType
- Represented as atom. Accepted values:
-
xmPUSHBUTTON
-
xmTOGGLEBUTTON
-
xmRADIOBUTTON
-
xmCASCADEBUTTON
-
xmSEPARATOR
-
xmDOUBLE_SEPARATOR
-
xmTITLE
- XmButtonTypeTable
- Represented as a list of items of type
XmButtonType.
- XmChildPlacement
- Represented as atom. Accepted values:
-
xmPLACE_TOP
-
xmPLACE_ABOVE_SELECTION
-
xmPLACE_BELOW_SELECTION
- XmChildType
- Represented as atom. Accepted values:
-
xmDIALOG_NONE
-
xmDIALOG_APPLY_BUTTON
-
xmDIALOG_CANCEL_BUTTON
-
xmDIALOG_DEFAULT_BUTTON
-
xmDIALOG_OK_BUTTON
-
xmDIALOG_FILTER_LABEL
-
xmDIALOG_FILTER_TEXT
-
xmDIALOG_HELP_BUTTON
-
xmDIALOG_HISTORY_LIST
-
xmDIALOG_LIST
-
xmDIALOG_LIST_LABEL
-
xmDIALOG_MESSAGE_LABEL
-
xmDIALOG_SELECTION_LABEL
-
xmDIALOG_SYMBOL_LABEL
-
xmDIALOG_TEXT
-
xmDIALOG_SEPARATOR
-
xmDIALOG_DIR_LIST
-
xmDIALOG_DIR_LIST_LABEL
- XmChildVerticalAlignment
- Represented as atom. Accepted values:
-
xmALIGNMENT_BASELINE_TOP
-
xmALIGNMENT_CENTER
-
xmALIGNMENT_BASELINE_BOTTOM
-
xmALIGNMENT_WIDGET_TOP
-
xmALIGNMENT_WIDGET_BOTTOM
- XmClipboardPendingList
- Represented as a list of terms of the form
clipboardpending(
DataId,
PrivateId)
, where
DataId and PrivateId are integers.
- XmCommandWindowLocation
- Represented as atom. Accepted values:
-
xmCOMMAND_ABOVE_WORKSPACE
-
xmCOMMAND_BELOW_WORKSPACE
- XmDefaultButtonType
- Represented as atom. Accepted values:
-
xmDIALOG_NONE
-
xmDIALOG_CANCEL_BUTTON
-
xmDIALOG_OK_BUTTON
-
xmDIALOG_HELP_BUTTON
- XmDeleteResponse
- Represented as atom. Accepted values:
-
xmDESTROY
-
xmUNMAP
-
xmDO_NOTHING
- XmDialogStyle
- Represented as atom. Accepted values:
-
xmDIALOG_MODELESS
xmDIALOG_PRIMARY_APPLICATION_MODAL
-
xmDIALOG_FULL_APPLICATION_MODAL
-
xmDIALOG_SYSTEM_MODAL
- XmDialogType
- Represented as atom. Accepted values:
-
xmDIALOG_TEMPLATE
-
xmDIALOG_ERROR
-
xmDIALOG_INFORMATION
-
xmDIALOG_MESSAGE
-
xmDIALOG_WARNING
-
xmDIALOG_WORKING
-
xmDIALOG_WORK_AREA
-
xmDIALOG_PROMPT
-
xmDIALOG_SELECTION
-
xmDIALOG_COMMAND
-
xmDIALOG_FILE_SELECTION
- XmDragAttachment
- Represented as atom. Accepted values:
-
xmATTACH_NORTH_WEST
-
xmATTACH_NORTH
-
xmATTACH_NORTH_EAST
-
xmATTACH_EAST
-
xmATTACH_SOUTH_EAST
-
xmATTACH_SOUTH
-
xmATTACH_SOUTH_WEST
-
xmATTACH_WEST
-
xmATTACH_CENTER
-
xmATTACH_HOT
- XmDragDropOperations
- Represented as atom. Accepted values:
-
xmDRAG_NOOP
-
xmDRAG_MOVE
-
xmDRAG_COPY
-
xmDRAG_LINK
- XmDragProtocolStyle
- Represented as atom. Accepted values:
-
xmDRAG_NONE
-
xmDRAG_DROP_ONLY
-
xmDRAG_PREFER_PREREGISTER
-
xmDRAG_PREREGISTER
-
xmDRAG_PREFER_DYNAMIC
-
xmDRAG_DYNAMIC
-
xmDRAG_PREFER_RECEIVER
- XmDropSiteActivity
- Represented as atom. Accepted values:
-
xmDROP_SITE_ACTIVE
-
xmDROP_SITE_INACTIVE
- XmDropSiteType
- Represented as atom. Accepted values:
-
xmDROP_SITE_SIMPLE
-
xmDROP_SITE_COMPOSITE
- XmDropTransfers
- Represented as list of terms of the form
droptransfer(
Widget,
Target)
, where Widget is
of type Widget and Target is of type XAtom.
- XmEditMode
- Represented as atom. Accepted values:
-
xmMULTI_LINE_EDIT
-
xmSINGLE_LINE_EDIT
- XmFileTypeMask
- Represented as atom. Accepted values:
-
xmFILE_DIRECTORY
-
xmFILE_REGULAR
-
xmFILE_ANY_TYPE
- XmFontContext
- Represented as
xmfontcontext(
Address)
.
- XmFontList
- Represented as
xmfontlist(
Address)
.
- XmFontListEntry
- Represented as
xmfontlistentry(
Address)
.
- XmFontListTag
- Represented as
char_ptr(
Address)
or as the atom
xmFONTLIST_DEFAULT_TAG
- XmFontType
- Represented as atom. Accepted values:
-
xmFONT_IS_FONT
-
xmFONT_IS_FONTSET
- XmHighlightMode
- Represented as atom. Accepted values:
-
xmHIGHLIGHT_NORMAL
-
xmHIGHLIGHT_SELECTED
-
xmHIGHLIGHT_SECONDARY_SELECTED
- XmIndicatorType
- Represented as atom. Accepted values:
-
xmN_OF_MANY
-
xmONE_OF_MANY
- XmKeyboardFocusPolicy
- Represented as atom. Accepted values:
- XmLabelType
- Represented as atom. Accepted values:
- XmListSizePolicy
- Represented as atom. Accepted values:
-
xmVARIABLE
-
xmCONSTANT
-
xmRESIZE_IF_POSSIBLE
- XmMultiClick
- Represented as atom. Accepted values:
-
xmMULTICLICK_DISCARD
-
xmMULTICLICK_KEEP
- XmNavigationType
- Represented as atom. Accepted values:
-
xmNONE
-
xmTAB_GROUP
-
xmSTICKY_TAB_GROUP
-
xmEXCLUSIVE_TAB_GROUP
-
xmDYNAMIC_DEFAULT_TAB_GROUP
- XmOrientation
- Represented as atom. Accepted values:
-
xmNO_ORIENTATION
-
xmVERTICAL
-
xmHORIZONTAL
- XmPacking
- Represented as atom. Accepted values:
-
xmNO_PACKING
-
xmPACK_TIGHT
-
xmPACK_COLUMN
-
xmPACK_NONE
- XmPositionIndex
- Represented as atom. Accepted values:
-
xmLAST_POSITION
-
xmFIRST_POSITION
- XmProcessingDirection
- Represented as atom. Accepted values:
-
xmMAX_ON_TOP
-
xmMAX_ON_BOTTOM
-
xmMAX_ON_LEFT
-
xmMAX_ON_RIGHT
- XmRepTypeEntry
- Represented as
xmreptypeentry(
Address)
.
- XmRepTypeId
- Represented as an integer.
- XmRepTypeList
- Represented as
xmreptypelist(
Address)
.
- XmResizePolicy
- Represented as atom. Accepted values:
-
xmRESIZE_NONE
-
xmRESIZE_GROW
-
xmRESIZE_ANY
- XmRowColumnType
- Represented as atom. Accepted values:
-
xmWORK_AREA
-
xmMENU_BAR
-
xmMENU_PULLDOWN
-
xmMENU_POPUP
-
xmMENU_OPTION
- XmScrollBarDisplayPolicy
- Represented as atom. Accepted values:
- XmScrollBarPlacement
- Represented as atom. Accepted values:
-
xmBOTTOM_RIGHT
-
xmTOP_RIGHT
-
xmBOTTOM_LEFT
-
xmTOP_LEFT
- XmScrollingPolicy
- Represented as atom. Accepted values:
-
xmAUTOMATIC
-
xmAPPLICATION_DEFINED
- XmSelectionArray
- Represented as list of items of type
XmSelectionType.
- XmSelectionPolicy
- Represented as atom. Accepted values:
-
xmSINGLE_SELECT
-
xmMULTIPLE_SELECT
-
xmEXTENDED_SELECT
-
xmBROWSE_SELECT
- XmSelectionType
- Represented as atom. Accepted values:
-
xmSELECT_POSITION
-
xmSELECT_WHITESPACE
-
xmSELECT_WORD
-
xmSELECT_LINE
-
xmSELECT_ALL
-
xmSELECT_PARAGRAPH
- XmSeparatorType
- Represented as atom. Accepted values:
-
xmNO_LINE
-
xmSINGLE_LINE
-
xmDOUBLE_LINE
-
xmSINGLE_DASHED_LINE
-
xmDOUBLE_DASHED_LINE
-
xmSHADOW_ETCHED_IN
-
xmSHADOW_ETCHED_OUT
-
xmSHADOW_ETCHED_IN_DASH
-
xmSHADOW_ETCHED_OUT_DASH
-
xmINVALID_SEPARATOR_TYPE
- XmShadowType
- Represented as atom. Accepted values:
-
xmSHADOW_ETCHED_IN
-
xmSHADOW_ETCHED_OUT
-
xmSHADOW_IN
-
xmSHADOW_OUT
- XmStackMode
- Represented as atom. Accepted values:
- XmString
- Represented as
xmstring(
Address)
.
- XmStringCharSet
- Represented as
xmstringcharset(
Address)
or as an
atom with the following accepted values:
-
xmFONTLIST_DEFAULT_TAG
-
xmSTRING_DEFAULT_CHARSET
-
xmSTRING_FALLBACK_CHARSET
-
xmSTRING_ISO8859_1
- XmStringCharSets
- Represented as list of items of type XmStringCharSet
xmstringcharset(
Address)
or atoms with values:
- XmStringComponentType
- Represented as atom. Accepted values:
-
xmSTRING_COMPONENT_UNKNOWN
-
xmSTRING_COMPONENT_CHARSET
-
xmSTRING_COMPONENT_TEXT
-
xmSTRING_COMPONENT_DIRECTION
-
xmSTRING_COMPONENT_SEPARATOR
-
xmSTRING_COMPONENT_END
-
xmSTRING_COMPOUND_STRING
-
xmSTRING_COMPONENT_USER_BEGIN
-
xmSTRING_COMPONENT_USER_END
- XmStringContext
- Represented as
xmstringcontext(
Address)
.
- XmStringDirection
- Represented as atom. Accepted values:
-
xmSTRING_DIRECTION_L_TO_R
-
xmSTRING_DIRECTION_R_TO_L
-
xmSTRING_DIRECTION_DEFAULT
- XmStringTable
- Represented as a list of items of type XmString.
- XmTearOffModel
- Represented as atom. Accepted values:
-
xmTEAR_OFF_ENABLED
-
xmTEAR_OFF_DISABLED
- XmTextDirection
- Represented as atom. Accepted values:
-
xmTEXT_FORWARD
-
xmTEXT_BACKWARD
- XmTextPosition
- Represented as integer.
- XmTextSource
- Represented as
xmtextsource(
Address)
.
- XmTransferStatus
- Represented as atom. Accepted values:
-
xmTRANSFER_FAILURE
-
xmTRANSFER_SUCCESS
- XmTraversalDirection
- Represented as atom. Accepted values:
-
xmTRAVERSE_CURRENT
-
xmTRAVERSE_NEXT
-
xmTRAVERSE_PREV
-
xmTRAVERSE_HOME
-
xmTRAVERSE_NEXT_TAB_GROUP
-
xmTRAVERSE_PREV_TAB_GROUP
-
xmTRAVERSE_UP
-
xmTRAVERSE_DOWN
-
xmTRAVERSE_LEFT
-
xmTRAVERSE_RIGHT
- XmUnitType
- Represented as atom. Accepted values:
-
xmPIXELS
-
xm100TH_MILLIMETERS
-
xm1000TH_INCHES
-
xm100TH_POINTS
-
xm100TH_FONT_UNITS
- XmUnpostBehavior
- Represented as atom. Accepted values:
-
xmUNPOST
-
xmUNPOST_AND_REPLAY
- XmValueWcs
- Represented as
wchar_ptr(
Address)
.
- XmVerticalAlignment
- Represented as atom. Accepted values:
-
xmALIGNMENT_BASELINE_TOP
-
xmALIGNMENT_CENTER
-
xmALIGNMENT_BASELINE_BOTTOM
-
xmALIGNMENT_CONTENTS_TOP
-
xmALIGNMENT_CONTENTS_BOTTOM
- XmVisibility
- Represented as atom. Accepted values:
-
xmVISIBLILITY_UNOBSCURED
-
xmVISIBLILITY_PARTIALLY_OBSCURED
-
xmVISIBLILITY_FULLY_OBSCURED
- XmVisualPolicy
- Represented as atom. Accepted values:
- XtAccelerators
- Represented as
xtaccelerators(
Address)
.
- XtAppContext
- Represented as
app_context(
Address)
.
- XtCallbackStatus
- Represented as atom. Accepted values:
-
xtCallbackNoList
-
xtCallbackHasNone
-
xtCallbackHasSome
- XtGrabKind
- Represented as atom. Accepted values:
-
xtGrabNone
-
xtGrabNonexclusive
-
xtGrabExclusive
- XtInputCondMask
- Represented as a list of atoms. Accepted values:
-
xtInputReadMask
-
xtInputWriteMask
-
xtInputExceptMask
- XtInputId
- Represented as integer.
- XtInputMask
- Represented as a list of atoms. Accepted values:
-
xtIMXEvent
-
xtIMTimer
-
xtIMAlternateInput
-
xtIMAll
- XtIntervalId
- Represented as integer.
- XtPointer
- Represented as
xtpointer(
Address)
.
- XtTranslations
- Represented as
xttranslations(
Address)
.
- XtWorkProcId
- Represented as integer.