DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
X Version 11 (Release 6.1)

XtAppGetSelectionTimeout(X3xt)


XtAppGetSelectionTimeout -- set and obtain selection timeout values

Synopsis

unsigned int XtAppGetSelectionTimeout (app_context)
    XtAppContext app_context;

void XtAppSetSelectionTimeout (app_context, timeout) 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.

References

XtOwnSelection(X3xt)

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


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004