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


#include <tk.h>

(display, collapse)

Tk_QueueWindowEvent(eventPtr, position)


Display *display (in)

Display for which to control motion event collapsing.

int collapse (in)

Indicates whether motion events should be collapsed or not.

XEvent *eventPtr (in)

An event to add to the event queue. It is important that all unused fields of the structure be set to zero.

Tcl_QueuePosition position (in)

Where to add the new event in the queue: TCL_QUEUE_TAIL, TCL_QUEUE_HEAD, or TCL_QUEUE_MARK.



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.


callback, clock, handler, modal timeout, events

More Linux Commands

sync_reset(8) - Account reset utility. DANGER. (Man Page)...
Sync_reset is a small utility program to destroy user accounts on a system. The only safeguard which is in place is the obligary force option. OPTIONS -C config

vgrename(8) - rename a volume group - Linux manual page.....
vgrename renames an existing (see vgcreate(8)) volume group from OldVolumeGroup{Name|Path|UUID} to NewVolumeGroup{Name|Path}. All the Volume Groups visible to a

Tk_3DBorderGC(3) - draw borders with three-dimensional appea
These procedures provide facilities for drawing window borders in a way that produces a three-dimensional appearance. Tk_Alloc3DBorderFromObj allocates colors a

idmap_rid(8) - Samba's idmap_rid Backend for Winbind........
The idmap_rid backend provides a way to use an algorithmic mapping scheme to map UIDs/GIDs and SIDs. No database is required in this case as the mapping is dete

git-rebase(1) - Forward-port local commits to the updated up
If &lt;branch&gt; is specified, git rebase will perform an automatic git checkout &lt;branch&gt; before doing anything else. Otherwise it remains on the current branch. If

XGetDeviceControl(3) - query and change input device control
These requests are provided to manipulate those input devices that support device control. A BadMatch error will be generated if the requested device does not s

pam_vprompt(3) - interface to conversation function.........
The pam_prompt function constructs a message from the specified format string and arguments and passes it to the conversation function as set by the service. Up

cargl(3) - calculate the complex argument - Linux man page
A complex number can be described by two real coordinates. One may use rectangular coordinates and gets z = x + I * y where x = creal(z) and y = cimag(z). Or on

mrtg-squid(1) using mrtg to monitor Squid - Linux man page
Squid 2.3 knows SNMP and you can therefore use mrtg to monitor it quite easily. I have made some modifications to mrtg which simplify this. My work is based on

rksh(1) KornShell, a standard restricted command and program
Ksh is a command and programming language that executes commands read from a terminal or a file. Rksh is a restricted version of the command interpreter ksh; it

XkbDeviceBell(3) - Rings the bell on an X input extension de
XkbDeviceBell.3 - The core X protocol allows only applications to explicitly sound the system bell with a given duration, pitch, and volume. Xkb extends this ca

atanh(3) - inverse hyperbolic tangent function (Man Page)...
The atanh() function calculates the inverse hyperbolic tangent of x; that is the value whose hyperbolic tangent is x. RETURN VALUE On success, these functions r

We can't live, work or learn in freedom unless the software we use is free.