Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

XWindows

Posted on 1998-11-15
12
Medium Priority
?
431 Views
Last Modified: 2010-04-20
Hi,
I used to write programs using MFC until I changed over to Linux.  I haven't been able to find any 'tutorials' on programming XWindows.  Where should I get started on learning how to program for XWindows ?
Thanks
0
Comment
Question by:bod_1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
  • 2
  • +2
12 Comments
 

Expert Comment

by:dochench
ID: 1638496
XFree 86 Consortium, Gimp Tool Kit, and possibly Windowmaker home page.

www.xfree86.org
www.gtk.org
and
www.windowmaker.org
0
 

Author Comment

by:bod_1
ID: 1638497
Thanks for the links dochench.
0
 

Author Comment

by:bod_1
ID: 1638498
After a bit of reading, and I'm a bit confusded.  Am I right to say that XF86 provides the low level API's for drawing lines, curves etc., and the window managers (After Step, FVWM, etc) supply the widgets?
Comparing to Microsoft - XF86 would be sort of like the windows API's and the window managers would supply common controls?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:dochench
ID: 1638499
That is the way i understand it.. However, I've only been playing around with this stuff for a few months. Also, I found another link that you find find informative.
http://www.geek-girl.com/unix.html#x11
The geek girl site has quite a load of info on pretty much everything... just remove the #x11 from the URL to get the main section of the page.
0
 

Expert Comment

by:gatkinso
ID: 1638500
The architecture (spelling?) of X Windows is a bit different than that of MS Windows,  but thankfully many of the concepts are the same.  Xlib (the W Windows API if you will) roughly corresponds to the WIN32API.  Like you stated, the window manager dictates the *policy* of how the desktop will look and feel, as well as provide (sometimes!) a toolkit of controls.  

Unlike in MS Windows where the window manager is tightly coupled with the windowing system, it is possible if hideous to create a complete app using only the API, in X you pretty much have to have a window manager present. Or you could write your own (no thanks!).

Note that (most of) these window managers are written upon yet another layer known as the Xt Intrinsics.  Now you have three layers: X11R6 (Xlib), XT, and (say) Motif, all with their own endearing strangeness.

I dont know how newer systems (such as KDE) work:  I couldn't tell you if they follow the traditional X Window model or not, but KDE is pretty cool: http://www.kde.org.

References:  
Any of the O'Rielly X books.  
Young's "X Window System Programming"

Also, check out the colleges in your area:  there are a couple of good X Window Programming classes in the Washington D.C. area (but I have no clue where YOU live).

Peace out!
0
 

Expert Comment

by:gatkinso
ID: 1638501
0
 

Author Comment

by:bod_1
ID: 1638502
That puts a little perspective on it for me.
Thanks again guys
0
 

Author Comment

by:bod_1
ID: 1638503
Who do I give the points to ?
0
 

Author Comment

by:bod_1
ID: 1638505
0
 

Accepted Solution

by:
joch earned 30 total points
ID: 1638506
just try man X11
this introduces you to most things you might want to know about Xwindows
0
 

Author Comment

by:bod_1
ID: 1638507
I have no man entry for X11.
The source code for X11 has a doc section I was looking for.
Thanks
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question