LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-01-2004, 09:53 PM   #1
Ikebo
Member
 
Registered: Jun 2004
Location: Michigan, USA
Distribution: Ubuntu
Posts: 77

Rep: Reputation: 15
X Documentation ?


I have been wrestling with X for a while and I am looking for a good documentation resource.

The man pages have been extraordinarily helpful for functions, and source code from others has been a huge help for design and logic, but I am looking for more.

Descriptions of the events would be very helpful; the names of events and when they are fired, that kind of thing, and descriptions of the data types would be helpful as well.

Is there a place that covers these kinds of topics? Are there any good full-fledged resources on X at all?
 
Old 10-01-2004, 10:33 PM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
http://x.holovko.ru/Xlib/contents.html

May not really be what you're looking for, but it's better than nothing. I too pray for MSDN quality documentation sometimes.
 
Old 10-02-2004, 12:42 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Instead of using X directly, why don't you consider using an API like QT or GTK+? They're layered on top of X and they are higher-level of abstraction and also they have good documentation too.

Especially QT is very good if you've come from a Windows background.
 
Old 10-02-2004, 03:15 AM   #4
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
I disagree. Knowing low-level xlib knowledge is extrememly useful, even when using high-level toolkits like QT/gtk. It's like knowing the raw win32 api will make you a better windows programmer overall even when working on high-level languages/libraries like VB or MFC.
 
Old 10-02-2004, 03:56 AM   #5
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Quote:
Originally posted by ugenn
I disagree. Knowing low-level xlib knowledge is extrememly useful, even when using high-level toolkits like QT/gtk. It's like knowing the raw win32 api will make you a better windows programmer overall even when working on high-level languages/libraries like VB or MFC.
Exactly. But in Windows API, the documentation in MSDN is as good as the documentation for MFC and VB. But in Linux, the documentation is not so good for the lower level APIs as you yourself admitted. So if you want to get things done quickly, you can start using a higher level API and then when you want to use something directly in the lower level API, you can look up the documentation.

Nobody writes full-fledged Windows applications in C any more. They use MFC and C++. I think similarly, writing X apps is not the way to go unless you want to target users on all DEs and WMs.
 
Old 10-02-2004, 09:03 AM   #6
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
The whole idea of using xlib directly is to understand the whole client/server architecture of X. Learning a high-level toolkit will not give you that big picture.

And not true abt apps not written in C. Many OSS windows projects are in fact in plain C. eg the mame emulator.
 
Old 10-02-2004, 09:02 PM   #7
Ikebo
Member
 
Registered: Jun 2004
Location: Michigan, USA
Distribution: Ubuntu
Posts: 77

Original Poster
Rep: Reputation: 15
Thanks for the link! That's a much better resource than I could find.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Documentation For RH 9.0 Crotch Linux - Newbie 2 04-25-2004 05:42 PM
Slackware documentation lsmith Linux - Newbie 6 02-29-2004 08:26 PM
documentation porous Slackware 4 10-27-2003 09:34 PM
need documentation kroll Linux - Networking 1 08-21-2002 02:29 AM
Too much Documentation rhuarc Linux - General 7 01-03-2002 09:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration