XtAppSetSelectionTimeout (3)
Leading comments
Copyright 1993 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and thi...
NAME
XtAppGetSelectionTimeout, XtAppSetSelectionTimeout - set and obtain selection timeout valuesSYNTAX
- unsigned long XtAppGetSelectionTimeout(XtAppContext app_context);
- void XtAppSetSelectionTimeout(XtAppContext app_context, unsigned long timeout);
ARGUMENTS
- app_context
- Specifies the application context.
- timeout
- Specifies 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(3)X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface