Lines Matching defs:width
55 int width, height; /* Absolute dimensions for tkwin. */
68 * CHILD_WIDTH - 1 means -width was specified;
267 sprintf(buffer, " -width %d", slavePtr->width);
270 Tcl_AppendResult(interp, " -width {}", (char *) NULL);
361 slavePtr->width = slavePtr->height = 0;
638 } else if ((c == 'w') && (strncmp(argv[0], "-width", length) == 0)) {
643 &slavePtr->width) != TCL_OK) {
664 "-in, -relheight, -relwidth, -relx, -rely, -width, ",
715 int x, y, width, height, tmp;
754 width = 0;
756 width += slavePtr->width;
763 * then compute width. If we compute the width and round
769 width += tmp - x;
772 width = Tk_ReqWidth(slavePtr->tkwin)
782 * See note above for rounding errors in width computation.
802 x -= width/2;
805 x -= width;
808 x -= width;
812 x -= width;
816 x -= width/2;
828 x -= width/2;
834 * Step 4: adjust width and height again to reflect inside dimensions
835 * of window rather than outside. Also make sure that the width and
839 width -= 2*Tk_Changes(slavePtr->tkwin)->border_width;
841 if (width <= 0) {
842 width = 1;
859 || (width != Tk_Width(slavePtr->tkwin))
861 Tk_MoveResizeWindow(slavePtr->tkwin, x, y, width, height);
873 if ((width <= 0) || (height <= 0)) {
878 x, y, width, height);