There are a number of changes from the previous version of ProXT that was released with Quintus Prolog 3.1. These changes are summarized as follows:
proxtCharPtrToString/2
and proxtStringToCharPtr/2
are
obsolete.
proxtGetDefaultCharset/1
is obsolete. In Motif2.1, most
functions that used to take a Charset parameter now take a FontListTag
parameter and the atom xmDEFAULT_FONTLIST_TAG
can be used as a FonListTag.
true
or false
.
This means that some predicates that used to include a Results parameter
have been replaced by predicates with that argument removed.
proxtGetCallbackReason/2
; a list of all fields is returned by
proxtGetCallbackFields/2
(the contents of this list varies depending on
the type of callback); and finally a list of fields to be modified can be
specified in proxtSetCallbackFields/2
.
The format of datatype XRectangle has changed. This is now a term
of the form rectangle(
X,
Y,
Width,
Height)
.
clipboardpending(
DataId,
PrivateId)
.
xtPending/1
has changed, returning an XEventMask
type rather than a mask/1
structure.
proxtGetDefaultGC/2
is obsolete. The
predicate xCreateGC/4
should be used to define a GC graphics context.
proxtFree/1
has been renamed xtFree/1
.
clipboard*
to xmClipboard*
in line with the change made in Motif2.1.
xtOpenDisplay
now has an additional argument specifying
the AppName.
One of the main changes to ProXT 3.5 concerns the
ability to extend ProXT with new widget classes and resources. The
file demo(proxrt.pl)
demonstrates how a graph widget can be
incorporated into ProXT.