Lines Matching refs:pathName
537 winPtr->pathName = NULL;
599 char *pathName;
641 length1 = strlen(parentPtr->pathName);
644 pathName = staticSpace;
646 pathName = (char *) ckalloc((unsigned) (length1+length2+2));
649 pathName[0] = '.';
650 strcpy(pathName+1, name);
652 strcpy(pathName, parentPtr->pathName);
653 pathName[length1] = '.';
654 strcpy(pathName+length1+1, name);
656 hPtr = Tcl_CreateHashEntry(&parentPtr->mainPtr->nameTable, pathName, &new);
657 if (pathName != staticSpace) {
658 ckfree(pathName);
666 winPtr->pathName = Tcl_GetHashKey(&parentPtr->mainPtr->nameTable, hPtr);
758 winPtr->pathName = Tcl_GetHashKey(&mainPtr->nameTable, hPtr);
874 Tk_CreateWindowFromPath(interp, tkwin, pathName, screenName)
880 char *pathName; /* Path name for new window within the
897 * Strip the parent's name out of pathName (it's everything up
900 * the pathName string (for large names, space for the copy
905 p = strrchr(pathName, '.');
907 Tcl_AppendResult(interp, "bad window path name \"", pathName,
911 numChars = p-pathName;
921 strncpy(p, pathName, (size_t) numChars);
952 if (NameWindow(interp, winPtr, parentPtr, pathName+numChars+1)
960 return CreateTopLevelWindow(interp, parent, pathName+numChars+1,
1075 * Note: if the window's pathName is NULL it means that the window
1080 if (winPtr->pathName != NULL) {
1141 if (winPtr->pathName != NULL) {
1143 (ClientData) winPtr->pathName);
1145 winPtr->pathName));
1861 Tk_NameToWindow(interp, pathName, tkwin)
1863 char *pathName; /* Path name of window. */
1870 pathName);
1873 pathName, "\"", (char *) NULL);