?
Solved

XWindows

Posted on 1998-11-15
12
Medium Priority
?
429 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
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

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…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

801 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