Lines Matching refs:newWindow
5356 WindowRef newWindow = NULL;
5408 &initialBounds, &newWindow);
5410 newWindow = NULL;
5415 newWindow = NewCWindow(NULL, &initialBounds, "\p", false,
5419 if (newWindow == NULL) {
5423 ChkErr(GetWindowStructureWidths, newWindow, &strWidths);
5437 InitialWindowBounds(winPtr, newWindow, &geometry);
5440 ChkErr(SetWindowBounds, newWindow, kWindowStructureRgn, &geometry);
5442 TkMacOSXInstallWindowCarbonEventHandler(NULL, newWindow);
5443 if (ChkErr(CreateRootControl, newWindow, &rootControl) != noErr ) {
5449 err = HIViewFindByID(HIViewGetRoot(newWindow),
5465 macWin->grafPtr = GetWindowPort(newWindow);
5469 ApplyMasterOverrideChanges(winPtr, newWindow);
5471 SetWindowModified(newWindow, false);
5472 TkMacOSXRegisterOffScreenWindow((Window) macWin, (GWorldPtr) newWindow);
5474 ChkErr(GetWindowClass, newWindow, &(wmPtr->macClass));
5475 ChkErr(GetWindowAttributes, newWindow, &(wmPtr->attributes));
5480 DebugPrintWindow(newWindow);