Lines Matching refs:width

264   if (smw->core.width == 0) {
266 smw->core.width = GetMenuWidth(new, NULL);
315 (unsigned int) (*entry)->rectangle.width,
375 ForAllChildren(smw, entry) /* reset width of all entries. */
377 (*entry)->rectangle.width = smw->core.width;
402 if (smw_new->core.width != smw_old->core.width) {
403 smw_new->simple_menu.menu_width = (smw_new->core.width != 0);
455 * If the user actually passed a width and height to the widget
456 * then this MUST be used, rather than our newly calculated width and
467 Dimension width, height;
469 width = w->core.width;
474 width = (Dimension) arglist[i].value;
479 if ((width != w->core.width) || (height != w->core.height))
480 MakeSetValuesRequest(w, width, height);
512 reply->width = request->width;
515 old_width = entry->rectangle.width;
518 Layout(w, &(reply->width), &(reply->height) );
529 if ( (reply->width == request->width) &&
533 entry->rectangle.width = old_width;
542 entry->rectangle.width = old_width;
545 if ( ((reply->width == request->width) && !(mode & CWHeight)) ||
547 ((reply->width == request->width) &&
553 if (reply->width != request->width)
851 * width_ret, height_ret - The returned width and
855 * if width == NULL || height == NULL then it assumes the you do not care
859 * to be width and height that the child would get if it were layed out
872 Dimension width, height;
914 width = smw->core.width;
916 width = GetMenuWidth((Widget) smw, (Widget) current_entry);
918 width = smw->core.width;
923 (*entry)->rectangle.width = width;
926 MakeSetValuesRequest((Widget) smw, width, height);
929 *width_ret = width;
1012 * The width will not be correct unless it is realized.
1017 location->x -= (Position) w->core.width/2;
1048 int width = w->core.width + 2 * w->core.border_width;
1055 if (x + width > scr_width)
1056 x = scr_width - width;
1103 * width, height - the size of the ask for.
1108 MakeSetValuesRequest(w, width, height)
1110 Dimension width, height;
1117 if ( (smw->core.width != width) || (smw->core.height != height) ) {
1119 XtSetArg(arglist[num_args], XtNwidth, width); num_args++;
1132 * Returns: width of menu.
1141 Dimension width, widest = (Dimension) 0;
1145 return(smw->core.width);
1156 width = preferred.width;
1158 width = (*entry)->rectangle.width;
1161 width = (*entry)->rectangle.width;
1163 if ( width > widest )
1164 widest = width;
1173 * Returns: width of menu.
1236 if ( (x_loc < 0) || (x_loc >= smw->core.width) || (y_loc < 0) ||