Lines Matching refs:retr
124 TkSelRetrievalInfo retr;
134 retr.interp = interp;
143 retr.winPtr = (TkWindow *) dispPtr->clipWindow;
144 retr.selection = selection;
145 retr.property = selection;
146 retr.target = target;
147 retr.proc = proc;
148 retr.clientData = clientData;
149 retr.result = -1;
150 retr.idleTime = 0;
151 retr.nextPtr = pendingRetrievals;
152 pendingRetrievals = &retr;
162 XConvertSelection(winPtr->display, retr.selection, retr.target,
163 retr.property, retr.winPtr->window, CurrentTime);
171 retr.timeout = Tcl_CreateTimerHandler(1000, SelTimeoutProc,
172 (ClientData) &retr);
173 while (retr.result == -1) {
176 Tcl_DeleteTimerHandler(retr.timeout);
183 if (pendingRetrievals == &retr) {
184 pendingRetrievals = retr.nextPtr;
190 if (retrPtr->nextPtr == &retr) {
191 retrPtr->nextPtr = retr.nextPtr;
196 return retr.result;