Lines Matching refs:child

56 static XtGeometryResult GeometryManager();  /* deal with child requests */
123 * Find the managed child on which we should operate. Ignore multiple
138 Widget child = find_child (pw);
140 if (pw->porthole.report_callbacks && child) {
144 prep.slider_x = -child->core.x; /* porthole is "inner" */
145 prep.slider_y = -child->core.y; /* child is outer since it is larger */
148 prep.canvas_width = child->core.width;
149 prep.canvas_height = child->core.height;
156 static void layout_child (pw, child, geomp, xp, yp, widthp, heightp)
158 Widget child;
165 *xp = child->core.x; /* default to current values */
166 *yp = child->core.y;
167 *widthp = child->core.width;
168 *heightp = child->core.height;
177 * Make sure that the child is at least as large as the porthole; there
184 * Make sure that the child is still on the screen. Note that this must
225 Widget child = find_child (pw);
228 * If we have a child, we need to make sure that it is at least as big
231 if (child) {
235 layout_child (pw, child, (XtWidgetGeometry *)NULL,
237 XtConfigureWidget (child, x, y, width, height, (Dimension) 0);
249 Widget child = find_child (pw);
251 if (child) {
254 preferred->width = child->core.width;
255 preferred->height = child->core.height;
277 Widget child = find_child (pw);
280 if (child != w) return XtGeometryNo; /* unknown child */
289 layout_child (pw, child, req, &reply->x, &reply->y,
308 * the child visible.
313 if (child->core.x != reply->x) {
315 child->core.x = reply->x;
317 if (child->core.y != reply->y) {
319 child->core.y = reply->y;
321 if (child->core.width != reply->width) {
323 child->core.width = reply->width;
325 if (child->core.height != reply->height) {
327 child->core.height = reply->height;
340 Widget child = find_child (pw); /* ignore extra children */
342 if (child) {
348 geom.width = child->core.width;
352 geom.height = child->core.height;
361 XtResizeWidget (child, Max (child->core.width, pw->core.width),
362 Max (child->core.height, pw->core.height), 0);