XtAppGetSelectionTimeout(3Xt) — MIT X11R4
Name
XtAppGetSelectionTimeout, XtAppSetSelectionTimeout − set and obtain selection timeout values
Syntax
unsigned long XtAppGetSelectionTimeout(app_context)
XtAppContext app_context;
void XtAppSetSelectionTimeout(app_context, timeout)
XtAppContext app_context;
unsigned long timeout;
Arguments
app_contextSpecifies the application context.
timeoutSpecifies the selection timeout in milliseconds.
Description
The XtAppGetSelectionTimeout function 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, or, if selectionTimeout is not specified, it defaults to five seconds.
The XtAppSetSelectionTimeout function sets the Intrinsics’s selection timeout mechanism. Note that most applications should not set the selection timeout.
See Also
XtOwnSelection(3Xt)
X Window System Toolkit: The Complete Programmer’s Guide and Specification, Paul J. Asente and Ralph Swick
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys