Your company here ā€” click to reach over 10,000 unique daily visitors

XtAppGetSelectionTimeout - Man Page

set and obtain selection timeout values


#include <X11/Intrinsic.h>

unsigned long XtAppGetSelectionTimeout(XtAppContext app_context);

void XtAppSetSelectionTimeout(XtAppContext app_context, unsigned long timeout);



Specifies the application context.


Specifies the selection timeout in milliseconds.


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

X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

Referenced By

XtGetSelectionTimeout(3), XtGetSelectionValue(3), XtOwnSelection(3).

The man page XtAppSetSelectionTimeout(3) is an alias of XtAppGetSelectionTimeout(3).

libXt 1.3.0 X Version 11 XT FUNCTIONS