Lines Matching refs:ctx
152 TextWidget ctx = (TextWidget)w;
159 XtGetValues(ctx->text.source, args, ONE);
171 if (!ctx->text.file_insert) {
172 ctx->text.file_insert = CreateDialog(w, ptr, "insertFile",
174 XtRealizeWidget(ctx->text.file_insert);
177 CenterWidgetOnPoint(ctx->text.file_insert, event);
178 XtPopup(ctx->text.file_insert, XtGrabNone);
197 TextWidget ctx = (TextWidget) closure;
199 XtPopdown( ctx->text.file_insert );
200 (void) SetResourceByName( ctx->text.file_insert, LABEL_NAME,
220 TextWidget ctx = (TextWidget) closure;
226 if ( (temp_widget = XtNameToWidget(ctx->text.file_insert, buf)) == NULL ) {
231 if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) {
241 (void)SetResourceByName(ctx->text.file_insert,
488 TextWidget ctx = (TextWidget)w;
496 if (ctx->text.source->Search == NULL) {
529 if (ctx->text.search== NULL) {
530 ctx->text.search = XtNew(struct SearchAndReplace);
531 ctx->text.search->search_popup = CreateDialog(w, ptr, "search",
533 XtRealizeWidget(ctx->text.search->search_popup);
537 XtGetValues(ctx->text.source, args, ONE);
539 InitializeSearchWidget(ctx->text.search, dir, (edit_mode == XawtextEdit));
541 CenterWidgetOnPoint(ctx->text.search->search_popup, event);
542 XtPopup(ctx->text.search->search_popup, XtGrabNone);
833 TextWidget ctx = (TextWidget) XtParent(XtParent(XtParent(w)));
840 if (Replace( ctx->text.search, TRUE, popdown) && popdown)
841 PopdownSearch(w, (caddr_t) ctx->text.search, (caddr_t)NULL);