Lines Matching refs:bbw

202 DoLayout(BoxWidget bbw, unsigned int width, unsigned int height,
205 Boolean vbox = (bbw->box.orientation == XtorientVertical);
210 Dimension h_space; /* Local copy of bbw->box.h_space */
214 h_space = bbw->box.h_space;
217 for (i = 0; i < bbw->composite.num_children; i++) {
218 if (XtIsManaged(bbw->composite.children[i])
219 && bbw->composite.children[i]->core.width > w)
220 w = bbw->composite.children[i]->core.width;
225 h = bbw->box.v_space;
231 for (i = 0; i < bbw->composite.num_children; i++) {
232 Widget widget = bbw->composite.children[i]; /* Current widget */
245 h = (Dimension)(h + (lh + bbw->box.v_space));
252 DoLayout(bbw, (unsigned)(lw + bw), height, reply_width,
284 XtOrientation orientation = bbw->box.orientation;
286 bbw->box.orientation = XtorientVertical;
289 DoLayout(bbw, (unsigned)(sw-1), height, &sw, &sh, False);
294 DoLayout(bbw, width_needed, height,
296 bbw->box.orientation = orientation;
299 bbw->box.orientation = orientation;
303 DoLayout(bbw, w, height, reply_width, reply_height, position);
306 if (position && XtIsRealized((Widget)bbw)) {
307 if (bbw->composite.num_children == num_mapped_children)
308 XMapSubwindows(XtDisplay((Widget)bbw), XtWindow((Widget)bbw));
310 int ii = (int)bbw->composite.num_children;
311 Widget *childP = bbw->composite.children;
323 h = (Dimension)(h + (lh + bbw->box.v_space));
444 TryNewLayout(BoxWidget bbw)
450 DoLayout(bbw, bbw->core.width, bbw->core.height,
454 than bbw->core.width unless some child is larger, so there's no
457 if (XtWidth(bbw) == preferred_width && XtHeight(bbw) == preferred_height)
465 switch (XtMakeResizeRequest((Widget)bbw,proposed_width,proposed_height,
472 DoLayout(bbw, bbw->core.width, bbw->core.height,
474 if (preferred_width <= XtWidth(bbw)
475 && preferred_height <= XtHeight(bbw))
488 (void)XtMakeResizeRequest((Widget)bbw,
495 DoLayout(bbw, proposed_width, 0,
506 (void)XawBoxQueryGeometry((Widget)bbw, &constraints, &reply);
537 BoxWidget bbw;
561 bbw = (BoxWidget) w->core.parent;
563 if (TryNewLayout(bbw)) {
565 (*XtClass((Widget)bbw)->core_class.resize)((Widget)bbw);