Index of Section 3 Manual Pages

Interix / SUATk_CollapseMotionEvents.3Interix / SUA

Tk_QueueWindowEvent(3)Tk Library ProceduresTk_QueueWindowEvent(3)



_________________________________________________________________

NAME
       Tk_CollapseMotionEvents,  Tk_QueueWindowEvent - Add a win-
       dow event to the Tcl event queue

SYNOPSIS
       #include 

       int
       Tk_CollapseMotionEvents(display, collapse)

       Tk_QueueWindowEvent(eventPtr, position)

ARGUMENTS
       Display             *display   (in)      Display for which
                                                to control motion
                                                event collapsing.

       int                 collapse   (in)      Indicates whether
                                                motion     events
                                                should   be  col-
                                                lapsed or not.

       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.
_________________________________________________________________


DESCRIPTION
       Tk_QueueWindowEvent places a window event on Tcl's  inter-
       nal  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 win-
       dow in rapid succession, they are  collapsed  by  default.
       This  behavior  can  be controlled with Tk_CollapseMotion-
       Events.  Tk_CollapseMotionEvents always returns the previ-
       ous 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



Tk                             7.5         Tk_QueueWindowEvent(3)

Interix / SUAHosted at SUA Community for Interix, SUA and SFUInterix / SUA