Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk_queuewindowevent(3tk) [opensolaris man page]

Tk_QueueWindowEvent(3TK)				       Tk Library Procedures					  Tk_QueueWindowEvent(3TK)

__________________________________________________________________________________________________________________________________________________

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 *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. 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 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 con- trolled 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 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tk is available on http://opensolaris.org. Tk 7.5 Tk_QueueWindowEvent(3TK)

Check Out this Related Man Page

Tk_HandleEvent(3TK)					       Tk Library Procedures					       Tk_HandleEvent(3TK)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_HandleEvent - invoke event handlers for window system events SYNOPSIS
#include <tk.h> Tk_HandleEvent(eventPtr) ARGUMENTS
XEvent *eventPtr (in) Pointer to X event to dispatch to relevant handler(s). _________________________________________________________________ DESCRIPTION
Tk_HandleEvent is a lower-level procedure that deals with window events. It is called by Tcl_ServiceEvent (and indirectly by Tk_DoOneEvent), and in a few other cases within Tk. It makes callbacks to any window event handlers (created by calls to Tk_CreateEven- tHandler) that match eventPtr and then returns. In some cases it may be useful for an application to bypass the Tk event queue and call Tk_HandleEvent directly instead of calling Tcl_QueueEvent followed by Tcl_ServiceEvent. This procedure may be invoked recursively. For example, it is possible to invoke Tk_HandleEvent recursively from a handler called by Tk_HandleEvent. This sort of operation is useful in some modal situations, such as when a notifier has been popped up and an application wishes to wait for the user to click a button in the notifier before doing anything else. KEYWORDS
callback, event, handler, window ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tk is available on http://opensolaris.org. Tk Tk_HandleEvent(3TK)
Man Page