Lines Matching defs:proc
52 Tk_GenericProc *proc; /* Procedure to dispatch on all X events. */
169 * proc will be called. See the manual entry for details
170 * of the calling sequence and return value for proc.
176 Tk_CreateEventHandler(token, mask, proc, clientData)
179 unsigned long mask; /* Events for which proc should
181 Tk_EventProc *proc; /* Procedure to call for each
183 ClientData clientData; /* Arbitrary data to pass to proc. */
207 if ((handlerPtr->proc == proc)
228 handlerPtr->proc = proc;
252 * parameters, the handler is deleted so that proc
259 Tk_DeleteEventHandler(token, mask, proc, clientData)
262 Tk_EventProc *proc;
280 if ((handlerPtr->mask == mask) && (handlerPtr->proc == proc)
330 * invoke proc, giving it clientData and the event as arguments.
336 Tk_CreateGenericHandler(proc, clientData)
337 Tk_GenericProc *proc; /* Procedure to call on every event. */
338 ClientData clientData; /* One-word value to pass to proc. */
344 handlerPtr->proc = proc;
369 * that handler is logically deleted so that proc will not be
377 Tk_DeleteGenericHandler(proc, clientData)
378 Tk_GenericProc *proc;
384 if ((handler->proc == proc) && (handler->clientData == clientData)) {
456 done = (*genericPtr->proc)(genericPtr->clientData, eventPtr);
660 (*(handlerPtr->proc))(handlerPtr->clientData, eventPtr);
807 * From now on, proc will be called to determine whether to process,
814 Tk_RestrictEvents(proc, arg, prevArgPtr)
815 Tk_RestrictProc *proc; /* Procedure to call for each incoming
817 ClientData arg; /* Arbitrary argument to pass to proc. */
825 restrictProc = proc;
902 wevPtr->header.proc = WindowEventProc;
973 * TCL_WINDOW_EVENTS bit isn't set in flags, if a restrict proc