home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!das.wang.com!wang!news
- From: draz@tochna.technion.ac.il (David Raz)
- Subject: Re: Athena Widgets /Text widgets
- Organization: Technion, Israel Inst. of Technology
- Date: Tue, 21 Jul 1992 17:23:18 GMT
- Message-ID: <1992Jul21.172318.29447@discus.technion.ac.il>
- References: <4eOhnxe00ioWA4EW9=@andrew.cmu.edu> <1992Jul20.183154.19717@ucunix.san.uc.edu>
- Sender: news@wang.com
- Lines: 30
-
- In article <1992Jul20.183154.19717@ucunix.san.uc.edu>, gregortj@ucunix.san.uc.edu (TONYA JEANETTE GREGORY-RAPP) writes:
- |> How do you save files using XawAsciiSave(); This function needs
- |> the AsciiSourceObject. I do not know how to point to it because, I did not
- |> create it. I think it is a child of Text Widget. I am able to point to
- |> the Text Widget.
- |>
- |> Thank you,
- |>
- |> Tonya
- |>
- |>
-
- Simply - the AsciiSourceObject is a resource of the Text widget.
- use something like:
-
- Widget src;
-
- XtVaGetValues(textwidget,
- XtNtextSource, &src,
- NULL);
- ........
-
- XawAsciiSave(src);
-
- hope this helps.
- --
- David Raz internet: draz@ee.technion.ac.il
- Assistant and system programmer bitnet : draz@techunix
- Software lab,EE faculty,Technion phone: work: 04-294643 home: 08-492628
- Haifa,32000 Israel home mail: 7 Shkolnik St. , Rehovot 76209 ,Israel
-