Lines Matching refs:width

80     int inset;			/* Total width of all borders, including
106 char *widthString; /* Value of -width option. Malloc'ed. */
108 int width, height; /* If > 0, these specify dimensions to request
261 {TK_CONFIG_STRING, "-width", "width", "Width",
280 int x, int y, int width, int height, int imgWidth,
378 mbPtr->width = 0;
379 mbPtr->width = 0;
722 &mbPtr->width) != TCL_OK) {
724 Tcl_AddErrorInfo(interp, "\n (processing -width option)");
734 if (Tcl_GetInt(interp, mbPtr->widthString, &mbPtr->width)
787 int width, height;
822 Tk_SizeOfImage(mbPtr->image, &width, &height);
830 x += ((int) (Tk_Width(tkwin) - width
834 x += Tk_Width(tkwin) - mbPtr->inset - width
850 Tk_RedrawImage(mbPtr->image, 0, 0, width, height, pixmap,
854 gc, 0, 0, (unsigned) width, (unsigned) height, x, y, 1);
857 Tk_SizeOfBitmap(mbPtr->display, mbPtr->bitmap, &width, &height);
860 width = mbPtr->textWidth;
867 x = ((int) (Tk_Width(tkwin) - width
871 x = Tk_Width(tkwin) - width - mbPtr->padX - mbPtr->inset
1089 int width, height, mm, pixels;
1093 Tk_SizeOfImage(mbPtr->image, &width, &height);
1094 if (mbPtr->width > 0) {
1095 width = mbPtr->width;
1101 Tk_SizeOfBitmap(mbPtr->display, mbPtr->bitmap, &width, &height);
1102 if (mbPtr->width > 0) {
1103 width = mbPtr->width;
1113 width = mbPtr->textWidth;
1115 if (mbPtr->width > 0) {
1116 width = mbPtr->width * XTextWidth(mbPtr->fontPtr, "0", 1);
1122 width += 2*mbPtr->padX;
1132 width += mbPtr->indicatorWidth;
1138 Tk_GeometryRequest(mbPtr->tkwin, (int) (width + 2*mbPtr->inset),
1229 MenuButtonImageProc(clientData, x, y, width, height, imgWidth, imgHeight)
1233 int width, height; /* Dimensions of area to redisplay