Lines Matching refs:XtWidth
254 horizontal ? XtWidth(clip) : XtHeight(clip));
313 XtSetArg(clip_args[arg_cnt], XtNwidth, XtWidth(w)); arg_cnt++;
333 clip_width = XtWidth(w);
336 if (h_bar != NULL && XtWidth(w) > XtWidth(h_bar) + XtBorderWidth(h_bar))
337 clip_width = (Dimension)(clip_width - (XtWidth(h_bar) + XtBorderWidth(h_bar)));
421 XtResizeWidget(child, XtWidth(child), XtHeight(child), 0);
442 GetGeometry(widget, XtWidth(child), XtHeight(child));
444 ((FormWidget)w, XtWidth(w), XtHeight(w), True /* True? */);
464 XtWidth(clip), XtWidth(child));
481 .slider_width = XtWidth(clip),
483 .canvas_width = XtWidth(child),
498 if (-x + (int)XtWidth(clip) > XtWidth(child))
499 x = -(int)(XtWidth(child) - XtWidth(clip));
531 clip_width = XtWidth(w);
557 if (XtWidth(child) < clip_width)
560 intended.width = XtWidth(child);
571 preferred.width = XtWidth(child);
613 clip_width -= XtWidth(bar) + XtBorderWidth(bar);
640 XtWidth(w->viewport.vert_bar)
663 ? XtWidth(w->viewport.vert_bar) : -bw),
683 XtResizeWidget(bar, (Dimension)XtWidth(bar), (Dimension)clip_height, (Dimension)bw);
686 ? XtWidth(w) - XtWidth(bar) - bw : -bw),
732 *clip_width -= XtWidth(w->viewport.vert_bar) +
764 intended->width = XtWidth(child);
779 intended->width = XtWidth(child);
799 w->form.preferred_width = XtWidth(w);
834 x = (int)(-percent * XtWidth(child));
850 if (request->width < XtWidth(w) || request->height < XtHeight(w))
867 request->width = (Dimension)(request->width + XtWidth(sb));
873 #define WidthChange() (request->width != XtWidth(w))
933 rWidth ? request->width : XtWidth(w),
936 child_changed_size = (rWidth && XtWidth(child) != request->width) ||
940 if (rWidth && XtWidth(w) != request->width) {
941 if (w->viewport.allowhoriz && request->width > XtWidth(w)) {
951 allowed.width = XtWidth(w);
956 if (!w->viewport.allowhoriz || request->width < XtWidth(w)) {
962 allowed.width = XtWidth(w);
965 if (allowed.width > XtWidth(bar) + XtBorderWidth(bar))
966 allowed.width = (Dimension)(allowed.width - (XtWidth(bar) + XtBorderWidth(bar)));
982 XtWidth(child) = request->width;
1000 if (width == XtWidth(w) && height == XtHeight(w))
1008 if (((ViewportWidget)w)->viewport.allowhoriz && width > XtWidth(w))
1009 geometry.width = XtWidth(w);
1015 if (XtWidth(w) != 0) {
1018 geometry.width = XtWidth(w);
1058 x = XtWidth(child);
1062 x = (int)((float)XtWidth(child) * xoff);
1086 if (x > XtWidth(child))
1087 x = (Position)XtWidth(child);