"Fossies" - the Fresh Open Source Software Archive

Member "SAOImageDS9/tk8.6/doc/QWinEvent.3" (13 Nov 2019, 1906 Bytes) of package /linux/misc/ds9.8.1.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Tk_QueueWindowEvent

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
KEYWORDS

NAME

Tk_CollapseMotionEvents, Tk_QueueWindowEvent − Add a window event to the Tcl event queue

SYNOPSIS

#include <tk.h>

int
Tk_CollapseMotionEvents
(display, collapse)

Tk_QueueWindowEvent(eventPtr, position)

ARGUMENTS

Display for which to control motion event collapsing. Indicates whether motion events should be collapsed or not. An event to add to the event queue. It is important that all unused fields of the structure be set to zero. Where to add the new event in the queue: TCL_QUEUE_TAIL, TCL_QUEUE_HEAD, or TCL_QUEUE_MARK.

DESCRIPTION

Tk_QueueWindowEvent places a window event on Tcl’s internal event queue for eventual servicing. It creates a Tcl_Event structure, copies the event into that structure, and calls Tcl_QueueEvent to add the event to the queue. When the event is eventually removed from the queue it is processed just like all window events.

When multiple motion events are received for the same window in rapid succession, they are collapsed by default. This behavior can be controlled with Tk_CollapseMotionEvents. Tk_CollapseMotionEvents always returns the previous value for collapse behavior on the display.

The position argument to Tk_QueueWindowEvent has the same significance as for Tcl_QueueEvent; see the documentation for Tcl_QueueEvent for details.

KEYWORDS

callback, clock, handler, modal timeout, events