Lines Matching refs:clip
153 Widget clip = w->viewport.clip;
155 (ViewportConstraints)clip->core.constraints;
170 horizontal ? clip->core.width : clip->core.height);
236 w->viewport.clip = XtCreateManagedWidget("clip", widgetClass, new,
251 * Set the clip widget to the correct height.
270 XtSetValues(w->viewport.clip, clip_args, arg_cnt);
289 Widget clip = w->viewport.clip;
299 XtRealizeWidget( clip );
301 XReparentWindow( XtDisplay(w), XtWindow(child), XtWindow(clip),
340 && *childP != w->viewport.clip
364 XtWindow(w->viewport.clip),
369 w->core.window = XtWindow(w->viewport.clip);
377 XtWindow(w->viewport.clip),
410 Widget clip = w->viewport.clip;
414 clip->core.width, child->core.width );
418 clip->core.height, child->core.height );
431 Widget clip = w->viewport.clip;
435 rep.slider_y = -child->core.y; /* clip is slider */
436 rep.slider_width = clip->core.width;
437 rep.slider_height = clip->core.height;
451 Widget clip = w->viewport.clip;
454 if (-x + (int)clip->core.width > (int)child->core.width)
455 x = -(child->core.width - clip->core.width);
457 if (-y + (int)clip->core.height > (int)child->core.height)
458 y = -(child->core.height - clip->core.height);
478 Widget clip = w->viewport.clip;
480 = (ViewportConstraints)clip->core.constraints;
593 if (XtIsRealized(clip))
594 XRaiseWindow( XtDisplay(clip), XtWindow(clip) );
596 XtMoveWidget( clip,
603 XtResizeWidget( clip, (Dimension)clip_width,
669 * clip_width, clip_height - size of clip window.