and you can also look at the QT library at
www.trolltech.com
either will get you started...although some programming books cover straight X programming (one of mine has 2 chapters on it) I haven't seen any docs on the net (although maybe xfree86.org would have links)