XtGetSelectionTimeout() XtGetSelectionTimeout()
Name
XtGetSelectionTimeout - get the current Intrinsics selection timeout value.
Synopsis
unsigned long XtGetSelectionTimeout()
Inputs
none
Returns
The selection timeout value.
Availability
XtGetSelectionTimeout() has been superseded by XtAppGetSelectionTimeout().
Description
XtGetSelectionTimeout() returns the current selection timeout value, in milliseconds. The selection timeout is the time within which the
two communicating applications must respond to one another. The initial timeout value is set by the selectionTimeout application resource,
which defaults to 5000 milliseconds (5 seconds).
Usage
XtGetSelectionTimeout() has been superseded by XtAppGetSelectionTimeout(), which performs the same function on a per-application context
basis. XtGetSelectionTimeout() now calls XtAppGetSelectionTimeout() passing the default application context created by XtInitialize().
Very few programs need multiple application contexts, and you can continue to use XtGetSelectionTimeout() if you initialize your applica-
tion with XtInitialize(). We recommend, however, that you use XtAppInitialize(), XtAppGetSelectionTimeout(), and the other XtApp*() appli-
cation context specific functions.
See XtAppGetSelectionTimeout() for more information.
See Also
XtAppGetSelectionTimeout(1), XtAppSetSelectionTimeout(1).
Xt - Selections XtGetSelectionTimeout()