Lines Matching refs:newPtr
84 TkWindow *newPtr, *focusWinPtr, *topLevelPtr;
111 newPtr = (TkWindow *) Tk_NameToWindow(interp, argv[1], tkwin);
112 if (newPtr == NULL) {
115 if (!(newPtr->flags & TK_ALREADY_DEAD)) {
116 SetFocus(newPtr, 0);
130 newPtr = (TkWindow *) Tk_NameToWindow(interp, argv[2], tkwin);
131 if (newPtr == NULL) {
134 newPtr = TkGetFocus(newPtr);
135 if (newPtr != NULL) {
136 interp->result = newPtr->pathName;
147 newPtr = (TkWindow *) Tk_NameToWindow(interp, argv[2], tkwin);
148 if (newPtr == NULL) {
151 SetFocus(newPtr, 1);
158 newPtr = (TkWindow *) Tk_NameToWindow(interp, argv[2], tkwin);
159 if (newPtr == NULL) {
162 for (topLevelPtr = newPtr; topLevelPtr != NULL;
165 for (focusPtr = newPtr->mainPtr->focusPtr; focusPtr != NULL;