.TH "R3-R4 Differences" 3Xt "11 June 1990" "X Version 11" .SH NAME Differences \- between X11 Release 3 and Release 4 .SH SYNTAX .IX "differences" "" "" "" PAGE MAJOR .IX "versions" .IX "releases" .SH DESCRIPTION .P 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. .sp .P \fBNew Functions\fP .br The following functions, which may or may not be mentioned elsewhere in the documentation, are new to R4: .sp .IP "" 5 .ft L XtAppAddActionHook \& XtAppInitialize \& .br XtAppReleaseCacheRefs \& XtAppSetFallbackResources \& .br XtAppSetTypeConverter \& XtCallAcceptFocus \& .br XtCallActionProc \& XtCallCallbackList \& .br XtCallConverter \% XtCallbackReleaseCacheRef \& .br XtCallbackReleaseCacheRefList \& XtConvertAndStore \& .br XtDisplayStringConversionWarning\& XtDisplayToApplicationContext \& .br XtFindFile \& XtGetActionKeysym \& .br XtGetApplicationNameAndClass \& XtGetConstraintResourceList \& .br XtGetMultiClickTime \& XtGetSelectionValueIncremental .br XtGetSelectionValuesIncremental XGrabButton \& .br XtGrabKey \& XtGrabKeyboard .br XtGrabPointer \& XtInitializeWidgetClass \& .br XtInsertEventHandler \& XtInsertRawEventHandler \& .br XtIsApplicationShell \& XtIsComposite \& .br XtIsConstraint \& XtIsObject \& .br XtIsOverrideShell \& XtIsRectObj \& .br XtIsShell \& XtIsTopLevelShell \& .br XtIsTransientShell \& XtIsVendorShell \& .br XtIsWMShell \& XtIsWidget \& .br XtKeysymToKeycodeList \& XtLastTimestampProcessed \& .br XtMapWidget \& XtMenuPopupAction \& .br XtName \& XtNewString \& .br XtOwnSelectionIncremental \& XtPopupSpringLoaded \& .br XtRegisterGrabAction \& XtRemoveActionHook \& .br XtResolvePathname \& XtSetMultiClickTime \& .br XtSetTypeConverter \& XtSetWMColormapWindows \& .br XtUngrabButton \& XtUngrabKey \& .br XtUngrabKeyboard \& XtUngrabPointer \& .br XtUnmapWidget \& XtVaAppCreateShell \& .br XtVaAppInitialize \& XtVaCreateArgsList \& .br XtVaCreateManagedWidget \& XtVaCreatePopupShell \& .br XtVaCreateWidget \& XtVaGetApplicationResources \& .br XtVaGetSubresources \& XtVaGetSubvalues \& .br XtVaGetValues \& XtVaSetSubvalues \& .br XtVaSetValues \& XtWindowOfObject \& .ft R .RE .bp .P \fBRemoved Functions\fP .br The following R3 functions are not in R4: .br .IP "" 5 .ft L XtSetAsyncEventHandler \&XtMakeToolkitAsync .br XtGetResources \&XtInitialize .RE .ft R .sp \fBChanges to Function Prototypes\fP .br The XtEventHandler function prototype has changed, now having 4 arguments instead of 3: .IP "" 5 .ft L XtEventHandler typedef void (*XtEventHandler)() Widget widget XtPointer closure /* XtPointer instead of caddr_t */ XEvent* event Boolean* continue_to_dispatch /* New argument */ .ft R .RE The following R3 function prototypes have gone away: .IP "" 5 .ft L XtAllEvents XtAsyncHandler .RE .ft R .sp .P The following R4 function prototypes are new: .IP "" 5 .ft L XtActionHookProc \& XtCancelConvertSelectionProc .br XtConvertArgProc \& XtConvertSelectionIncrProc .br XtConvertSelectionProc \& XtLoseSelectionIncrProc \& .br XtLoseSelectionProc \& XtSelectionCallbackProc \& .br XtSelectionDoneIncrProc \& XtSelectionDoneProc \& .br XtTypeConverter \& .ft R .RE .sp \fBNew Types\fP .br The new type \fLXtPointer\fP replaces \fLcaddr_t\fP in the following functions: .IP "" 5 .ft L XtAddCallback \& XtAddEventHandler \& .br XtAddRawEventHandler \& XtCallCallbacks \& .br XtCallbackExclusive \& XtCallbackNone \& .br XtCallbackNonexclusive \& XtCallbackPopdown \& .br XtCallbackProc \& XtCallbackRec \& .br XtEventHandler \& XtGetSubresources \& .br XtGetSubvalues \& XtInputCallbackProc \& .br XtRemoveCallback XtRemoveEventHandler .br XtRemoveRawEventHandler \& XtResource \& .br XtSetSubvalues \& XtTimerCallbackProc \& .br XtWorkProc \& .ft R .RE