Lines Matching defs:vbar
353 Widget vbar = ctx->text.vbar, hbar = ctx->text.hbar;
358 if (vbar != NULL)
359 left += (Position) (vbar->core.width + vbar->core.border_width);
380 Widget vbar = ctx->text.vbar;
383 if (vbar == NULL) return;
384 bw = vbar->core.border_width;
386 XtResizeWidget( vbar, vbar->core.width, ctx->core.height, bw);
387 XtMoveWidget( vbar, -(Position)bw, -(Position)bw );
394 Widget vbar;
396 if (ctx->text.vbar != NULL) return;
398 ctx->text.vbar = vbar =
401 XtAddCallback( vbar, XtNscrollProc, VScroll, (XtPointer)ctx );
402 XtAddCallback( vbar, XtNjumpProc, VJump, (XtPointer)ctx );
407 ctx->text.r_margin.left += vbar->core.width + vbar->core.border_width;
414 XtRealizeWidget(vbar);
415 XtMapWidget(vbar);
429 Widget vbar = ctx->text.vbar;
431 if (vbar == NULL) return;
433 ctx->text.r_margin.left -= vbar->core.width + vbar->core.border_width;
438 XtDestroyWidget(vbar);
439 ctx->text.vbar = NULL;
457 if (ctx->text.vbar == NULL)
486 if (ctx->text.vbar == NULL)
532 ctx->text.hbar = ctx->text.vbar = (Widget) NULL;
598 if (ctx->text.vbar != NULL) { /* Put up Vbar. */
599 XtRealizeWidget(ctx->text.vbar);
600 XtMapWidget(ctx->text.vbar);
618 if (ctx->text.vbar)
619 XtUnrealizeWidget(ctx->text.vbar);
1062 Boolean temp = (ctx->text.vbar == NULL);
1093 if (ctx->text.vbar != NULL)
1094 XawScrollbarSetThumb(ctx->text.vbar, first, last - first);
1096 if ( (ctx->text.vbar == NULL) != temp) {
1098 if (ctx->text.vbar == NULL)
1102 else if (ctx->text.vbar != NULL)
1106 XawScrollbarSetThumb(ctx->text.vbar, 0.0, 1.0);
1121 Boolean vtemp = (ctx->text.vbar == NULL);
1127 if (ctx->text.vbar != NULL)
1128 widest = (int)(ctx->core.width - ctx->text.vbar->core.width -
1129 ctx->text.vbar->core.border_width);
1141 CheckVBarScrolling(ctx); /* Recheck need for vbar, now that we added
1153 (ctx->text.vbar == NULL) != vtemp)
1286 if (ctx->text.vbar != NULL)
1287 rect.x += (short) (ctx->text.vbar->core.width +
1288 ctx->text.vbar->core.border_width);
2891 if (newtw->text.vbar != NULL)
2892 newtw->text.margin.left += newtw->text.vbar->core.width +
2893 newtw->text.vbar->core.border_width;
2962 if (tw->text.vbar)
2963 XtSetValues(tw->text.vbar, args, ONE);