Solved

XWindows

Posted on 1998-11-15
12
425 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
  • 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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
 

Expert Comment

by:natmak
ID: 1638504
0
 

Author Comment

by:bod_1
ID: 1638505
0
 

Accepted Solution

by:
joch earned 10 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ftp to port 21 4 72
centos commands 6 94
What is the best way to transfer files from and to Linux VNC window? 9 75
python - find anything after $ question. 9 53
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
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.

730 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