Lines Matching refs:width
29 int width; /* Width to use for window (<= 0 means use
30 * window's requested width). */
32 * window's requested width). */
53 {TK_CONFIG_PIXELS, "-width", (char *) NULL, (char *) NULL,
54 "0", Tk_Offset(WindowItem, width), TK_CONFIG_DONT_SET_DEFAULT},
77 int x, int y, int width, int height));
183 winItemPtr->width = 0;
420 int width, height, x, y;
435 width = winItemPtr->width;
436 if (width <= 0) {
437 width = Tk_ReqWidth(winItemPtr->tkwin);
438 if (width <= 0) {
439 width = 1;
456 x -= width/2;
459 x -= width;
462 x -= width;
466 x -= width;
470 x -= width/2;
482 x -= width/2;
493 winItemPtr->header.x2 = x + width;
535 int width, height;
545 width = winItemPtr->header.x2 - winItemPtr->header.x1;
555 || (width != Tk_Width(winItemPtr->tkwin))
557 Tk_MoveResizeWindow(winItemPtr->tkwin, x, y, width, height);
562 width, height);
704 if (winItemPtr->width > 0) {
705 winItemPtr->width = scaleX*winItemPtr->width;