Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

R3-R4 Differences(3Xt)

NAME

Differences − between X11 Release 3 and Release 4

SYNTAX

DESCRIPTION

The following information is offered as a convenience to those converting programs from Release 3 to Release 4 of X11.  While every effort was made to gather and verify as much inofrmation as possible, there is no guarantee that the following is complete, comprehensive, or even correct. 

New Functions
The following functions, which may or may not be mentioned elsewhere in the documentation, are new to R4:

XtAppAddActionHook XtAppInitialize
XtAppReleaseCacheRefs XtAppSetFallbackResources
XtAppSetTypeConverter XtCallAcceptFocus
XtCallActionProc XtCallCallbackList
XtCallConverter­ XtCallbackReleaseCacheRef
XtCallbackReleaseCacheRefList XtConvertAndStore
XtDisplayStringConversionWarning XtDisplayToApplicationContext
XtFindFile XtGetActionKeysym
XtGetApplicationNameAndClass XtGetConstraintResourceList
XtGetMultiClickTime XtGetSelectionValueIncremental
XtGetSelectionValuesIncremental XGrabButton
XtGrabKey XtGrabKeyboard
XtGrabPointer XtInitializeWidgetClass
XtInsertEventHandler XtInsertRawEventHandler
XtIsApplicationShell XtIsComposite
XtIsConstraint XtIsObject
XtIsOverrideShell XtIsRectObj
XtIsShell XtIsTopLevelShell
XtIsTransientShell XtIsVendorShell
XtIsWMShell XtIsWidget
XtKeysymToKeycodeList XtLastTimestampProcessed
XtMapWidget XtMenuPopupAction
XtName XtNewString
XtOwnSelectionIncremental XtPopupSpringLoaded
XtRegisterGrabAction XtRemoveActionHook
XtResolvePathname XtSetMultiClickTime
XtSetTypeConverter XtSetWMColormapWindows
XtUngrabButton XtUngrabKey
XtUngrabKeyboard XtUngrabPointer
XtUnmapWidget XtVaAppCreateShell
XtVaAppInitialize XtVaCreateArgsList
XtVaCreateManagedWidget XtVaCreatePopupShell
XtVaCreateWidget XtVaGetApplicationResources
XtVaGetSubresources XtVaGetSubvalues
XtVaGetValues XtVaSetSubvalues
XtVaSetValues XtWindowOfObject

Removed Functions
The following R3 functions are not in R4:

XtSetAsyncEventHandler XtMakeToolkitAsync
XtGetResources                  XtInitialize Changes to Function Prototypes
The XtEventHandler function prototype has changed, now having 4 arguments instead of 3:

XtEventHandler typedef void (∗XtEventHandler)()
 Widget    widget
 XtPointer closure     /∗  XtPointer instead of caddr_t ∗/
 XEvent∗   event
 Boolean∗  continue_to_dispatch /∗ New argument ∗/ The following R3 function prototypes have gone away:

XtAllEventsXtAsyncHandler

The following R4 function prototypes are new:

XtActionHookProc XtCancelConvertSelectionProc
XtConvertArgProc XtConvertSelectionIncrProc
XtConvertSelectionProc XtLoseSelectionIncrProc
XtLoseSelectionProc XtSelectionCallbackProc
XtSelectionDoneIncrProc XtSelectionDoneProc
XtTypeConverter New Types
The new type XtPointer replaces caddr_t in the following functions:

XtAddCallback XtAddEventHandler
XtAddRawEventHandler XtCallCallbacks
XtCallbackExclusive XtCallbackNone
XtCallbackNonexclusive XtCallbackPopdown
XtCallbackProc XtCallbackRec
XtEventHandler XtGetSubresources
XtGetSubvalues XtInputCallbackProc
XtRemoveCallback         XtRemoveEventHandler
XtRemoveRawEventHandler XtResource
XtSetSubvalues XtTimerCallbackProc
XtWorkProc
 

X Version 11  —  Last change: 11 June 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026