QWinEvent(3tk)

QWinEvent3tk

Add a window event to the tcl event queue

Usage

#include <tk.h>

Tk_QueueWindowEvent(eventPtr, position)

    


    

Arguments

XEvent *eventPtr (in)

An event to add to the event queue.

Tcl_QueuePosition position (in)

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


    


            

Overview

This procedure 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.

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

Releases

10 releases since Debian 1.1 (Buzz); the text changed 5 times.

  1. 1.1–2.0
  2. 2.1
  3. 2.2–3.0
  4. 3.1
  5. 4.0
  6. 5.0

From tk8.3-doc 8.3.5-14 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.