Path: utzoo!attcan!cmtl01!matrox!uvm-gen!uunet!lll-winken!ames!pasteur!ucbvax!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.HP.COM (Bill Turner) Newsgroups: comp.windows.x Subject: Re: Problems using the TextWidget Message-ID: <100920041@hpcvlx.HP.COM> Date: 25 Jan 89 18:04:25 GMT References: <8901242116.AA19688@popeye.nosc.mil.sun.com> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 13 > How do I get the new string out of the widget? This question > applies to not only the HP widgets, but the Athena Widgets as > well. How about unsigned char *XwTextCopyBuffer(w) Widget w; The buffer is allocated with XtMalloc, and the code calling is responsible to free the buffer. --Bill Turner