Home | History | Annotate | Download | only in src

Lines Matching refs:pw

133 find_child(PortholeWidget pw)
142 for (i = 0, children = pw->composite.children;
143 i < pw->composite.num_children; i++, children++)
151 SendReport(PortholeWidget pw, unsigned int changed)
153 Widget child = find_child(pw);
155 if (pw->porthole.report_callbacks && child) {
160 .slider_width = XtWidth(pw),
161 .slider_height = XtHeight(pw),
165 XtCallCallbackList((Widget)pw, pw->porthole.report_callbacks,
171 layout_child(PortholeWidget pw, Widget child, XtWidgetGeometry *geomp,
195 if (*widthp < XtWidth(pw)) *widthp = XtWidth(pw);
196 if (*heightp < XtHeight(pw)) *heightp = XtHeight(pw);
202 minx = (Position)(XtWidth(pw) - *widthp);
203 miny = (Position)(XtHeight(pw) - *heightp);
233 PortholeWidget pw = (PortholeWidget)gw;
234 Widget child = find_child(pw);
244 layout_child(pw, child, NULL, &x, &y, &width, &height);
248 SendReport(pw, XawPRCanvasWidth | XawPRCanvasHeight);
255 PortholeWidget pw = (PortholeWidget)gw;
256 Widget child = find_child(pw);
268 else if (preferred->width == XtWidth(pw) &&
269 preferred->height == XtHeight(pw))
283 PortholeWidget pw = (PortholeWidget) w->core.parent;
284 Widget child = find_child(pw);
297 layout_child(pw, child, req, &reply->x, &reply->y,
340 SendReport(pw, changed);
349 PortholeWidget pw = (PortholeWidget)gw;
350 Widget child = find_child (pw); /* ignore extra children */
356 if (XtWidth(pw) == 0) {
360 if (XtHeight(pw) == 0) {
370 XtResizeWidget(child, Max(XtWidth(child), XtWidth(pw)),
371 Max(XtHeight(child), XtHeight(pw)), 0);
373 SendReport(pw, XawPRAll);