Lines Matching defs:new
180 * new - the new widget with both resource and non
187 Initialize(request, new)
188 Widget request, new;
190 AsciiSrcObject src = (AsciiSrcObject) new;
198 if (XtIsSubclass(XtParent(new), asciiDiskWidgetClass)) {
205 if (XtIsSubclass(XtParent(new), asciiStringWidgetClass)) {
251 * Description: Replaces a block of text with new text.
254 * text - new text to be inserted into buffer at startPos.
607 * new - what the widget will become.
613 SetValues(current, request, new)
614 Widget current, request, new;
616 AsciiSrcObject src = (AsciiSrcObject) new;
623 XtAppWarning( XtWidgetToApplicationContext(new),
642 file = InitStringOrFile(src); /* Init new info. */
643 LoadPieces(src, file, NULL); /* load new info into internal buffers. */
645 XawTextSetSource( XtParent(new), new, 0); /* Tell text widget
1054 * Description: Allocates a new piece of memory.
1178 * Description: Breaks a full piece into two new pieces.
1191 Piece * new = AllocNewPiece(src, piece);
1193 new->text = XtMalloc(src->ascii_src.piece_size * sizeof(unsigned char));
1194 strncpy(new->text, piece->text + HALF_PIECE,
1197 new->used = src->ascii_src.piece_size - HALF_PIECE;
1247 * Returns: a pointer to the new text source.
1293 * Returns: a pointer to the new text source.