Thread View: comp.windows.x.intrinsics
1 messages
1 total messages
Started by Achille Hui, the Day Dreamer
Sat, 09 Jan 1993 02:40
Re: Book on Athena widget set
Author: Achille Hui, the Day Dreamer
Date: Sat, 09 Jan 1993 02:40
Date: Sat, 09 Jan 1993 02:40
42 lines
2357 bytes
2357 bytes
cs911046@ariel.yorku.ca (PETER E REISSNER) writes: >to me. I noticed a book in a Books in Print reference cat. by McCormack >published by Silicon Press called "X toolkit and Athena widgets" or >something close to that. I'd like to know if anyone has it and could >comment on it. If it's good, then I'll order it. I have McCormack's book. It is not suitable for learning the Athena widget sets because everything is very dense. However, if you have a little idea of how things are organized under Xaw, this book serve as a excellent reference when you are actually writing codes. >My main problem seems to be that I have no idea how to convert programs >for the HP X widget set using Xw headers to programs using Athena widgets. >The HP X widgets need the Xw.h header file, and the motif widgets need >the Xm.h header file. BUT, Athena doesn't have any Xaw.h header file. Unlike Motif (not sure about Xw), Xaw doesn't bundle everything under a single gigantic header. A typical Xaw based program contains the standard Xt headers: #include <X11/Intrinsic.h> #include <X11/StringDefs.h> followed by the headers of the Xaw widgets you actually used. For example, suppose you want to use the Xaw label widget, then you include the header: #include <X11/Xaw/Label.h> >What do I do? How can I try to convert these programs to athena? >Will the book I mentioned do me good? Any other suggestions? > Yes, but you should learn Xaw from other books instead. Borrow Vol. 4 (X Toolkit Intrinsics Programming Manual) of the X-window series by O'Reiley & Associates, Inc. from library, read the first few chapters to get an overall idea. Return it and use McCormack's book to start actual programing. Hopefully this helps.... ------------------------------------achille (eillihca@drizzle.stanford.edu) JAXU -- Just Another X User.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads