Debian Codegraph @

pod/pTk/QWinEvent.pod

raw
1 # Copyright (c) 1995-1996 Sun Microsystems, Inc.
2 # See the file "license.terms" for information on usage and redistribution
3 # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
4 #
5 #
6
7 =head1 NAME
8
9 Tk_QueueWindowEvent - Add a window event to the Tcl event queue
10
11 =for category C Programming
12
13 =head1 SYNOPSIS
14
15 B<#include E<lt>tk.hE<gt>>
16
17 B<Tk_QueueWindowEvent>(I<eventPtr, position>)
18
19 =head1 ARGUMENTS
20
21 =over 4
22
23 =item XEvent *eventPtr (in)
24
25 An event to add to the event queue.
26
27 =item Tcl_QueuePosition position (in)
28
29 Where to add the new event in the queue: B<TCL_QUEUE_TAIL>,
30 B<TCL_QUEUE_HEAD>, or B<TCL_QUEUE_MARK>.
31
32 =back
33
34 =head1 DESCRIPTION
35
36 This procedure places a window event on Tcl's
37 internal event queue for eventual servicing. It creates a
38 Tcl_Event structure, copies the event into that structure,
39 and calls B<Tcl_QueueEvent> to add the event to the queue.
40 When the event is eventually removed from the queue it is
41 processed just like all window events.
42
43 The I<position> argument to B<Tk_QueueWindowEvent> has
44 the same significance as for B<Tcl_QueueEvent>; see the
45 documentation for B<Tcl_QueueEvent> for details.
46
47 =head1 KEYWORDS
48
49 callback, clock, handler, modal timeout