Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtGetMultiClickTime(1)

NAME

XtSetMultiClickTime − set the multi-click time. 

Synopsis

void XtSetMultiClickTime(display, time)

      Display *display;
      int time;

Inputs

displaySpecifies the display connection. 

timeSpecifies the multi-click time in milliseconds. 

Availability

Release 4 and later. 

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. 

Usage

The value of the multi-click time must remain completely under the user’s control.  An application should not set it except when directed to by the user.  It is acceptable to set this value when the user specifies the new time in a "Preferences" configuration dialog box created by the application, for example, and it is also acceptable to set the multi-click time from a value saved in a user preferences file.  The initial multi-click time value can be specified as an application resource with name multiClickTime and class MultiClickTime.  The multi-click time is unique for each Display and is retrieved from the resource database by XtDisplayInitialize().  If no value is specified, the default initial value is 200 milliseconds. 

See Also

XtGetMultiClickTime(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026