Name
XtSetMultiClickTime — set the multi-click time dynamically.
Synopsis
void XtSetMultiClickTime(dpy, time)
Display ∗display;
int time;
Arguments
displaySpecifies the display connection.
timeSpecifies the multi-click time in milliseconds.
Description
XtSetMultiClickTime sets the time interval used by the translation manager to determine when multiple events are interpreted as a repeated event. When a repeat count is specified in a translation entry the time interval between arrival of each pair of repeated events (e.g., between two ButtonPress events) must be less than the multi-click time in order for the translation actions to be taken.
Translation table entries may specify actions that are taken when two or more identical events occur consecutively, separated by a short time interval called the multi-click time. The multi-click time value can be specified as an application resource with name multiClickTime and class MultiClickTime; the multi-click time value can also be modified dynamically by the application. The multi-click time is unique for each Display and is retrieved from the resource database by XtDisplayInitialize. If no value is specified, the initial value is 200 milliseconds.