Lines Matching refs:width

275   if (smw->core.width == 0) {
277 smw->core.width = GetMenuWidth(new, (Widget)NULL);
326 (unsigned int) (*entry)->rectangle.width,
386 ForAllChildren(smw, entry) /* reset width of all entries. */
388 (*entry)->rectangle.width = smw->core.width;
415 if (smw_new->core.width != smw_old->core.width) {
416 smw_new->simple_menu.menu_width = (smw_new->core.width != 0);
468 * If the user actually passed a width and height to the widget
469 * then this MUST be used, rather than our newly calculated width and
480 Dimension width, height;
482 width = w->core.width;
487 width = (Dimension) arglist[i].value;
492 if ((width != w->core.width) || (height != w->core.height))
493 MakeSetValuesRequest(w, width, height);
525 reply->width = request->width;
528 old_width = entry->rectangle.width;
531 Layout(w, &(reply->width), &(reply->height) );
542 if ( (reply->width == request->width) &&
546 entry->rectangle.width = old_width;
555 entry->rectangle.width = old_width;
558 if ( ((reply->width == request->width) && !(mode & CWHeight)) ||
560 ((reply->width == request->width) &&
566 if (reply->width != request->width)
888 * width_ret, height_ret - The returned width and
892 * if width == NULL || height == NULL then it assumes the you do not care
896 * to be width and height that the child would get if it were layed out
909 Dimension width, height;
951 width = smw->core.width;
953 width = GetMenuWidth((Widget) smw, (Widget) current_entry);
955 width = smw->core.width;
960 (*entry)->rectangle.width = width;
963 MakeSetValuesRequest((Widget) smw, width, height);
966 *width_ret = width;
1048 * The width will not be correct unless it is realized.
1053 location->x -= (Position) w->core.width/2;
1084 int width = w->core.width + 2 * w->core.border_width;
1089 if (x + width > scr_width)
1090 x = scr_width - width;
1140 * width, height - the size of the ask for.
1145 MakeSetValuesRequest(w, width, height)
1147 Dimension width, height;
1154 if ( (smw->core.width != width) || (smw->core.height != height) ) {
1156 XtSetArg(arglist[num_args], XtNwidth, width); num_args++;
1169 * Returns: width of menu.
1178 Dimension width, widest = (Dimension) 0;
1182 return(smw->core.width);
1193 width = preferred.width;
1195 width = (*entry)->rectangle.width;
1198 width = (*entry)->rectangle.width;
1200 if ( width > widest )
1201 widest = width;
1210 * Returns: width of menu.
1273 if ( (x_loc < 0) || (x_loc >= (int)smw->core.width) || (y_loc < 0) ||