Re: learning X programming
- From: Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx>
- Date: 13 Sep 2007 21:18:19 -0400
Sam <sam@xxxxxxxxxxxxxx> writes:
Allan Adler writes:
I have the following documents:
(1) Xlib - C Language X Interface
X Consortium Standard
X Version 11, Release 6.4
(2) X Toolkit Intrinsics -- C Language Interface
X Window System
X Version 11, Release 6.4
First Revision - April 1994
The former is 466 pages, the latter about 291 pages. Which of them
should I read first?
Neither. They all describe fairly low-level aspects of X. You will need to
spend the rest of your life writing anything useful, at this level. [...]
For C, the practical choice would be Gnome. Look for books about GTK
programming. With C++, another choice is the Qt toolkit, although
personally I prefer GTK.
I went to
http://www.linuxheadquarters.com/howto/programming/gtk_examples/checkbutton/checkbutton.shtml
I'll look at these examples. I copied some of them to files and compiled
and ran them on my machine. They work ok but they aren't the kind of thing
I'm interested in. I'd like to be able to produce and update graphics based
on certain computations. I've seen programs in C that work directly with
X11 to do things like that. I can just try to imitate them, looking up in
the documents I mentioned the things they actually use in their source code.
That is an approach I like to describe as "learning about it on the streets".
I just wanted to know whether there was simply a book or other document I
could read instead.
--
Ignorantly,
Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx>
* Disclaimer: I am a guest and *not* a member of the MIT CSAIL. My actions and
* comments do not reflect in any way on MIT. Also, I am nowhere near Boston.
.
- Follow-Ups:
- Re: learning X programming
- From: LEE Sau Dan
- Re: learning X programming
- From: Sam
- Re: learning X programming
- References:
- learning X programming
- From: Allan Adler
- Re: learning X programming
- From: Sam
- learning X programming
- Prev by Date: Re: Think you are a Linux Guru??
- Next by Date: Re: learning X programming
- Previous by thread: Re: learning X programming
- Next by thread: Re: learning X programming
- Index(es):