Solved

XWindows

Posted on 1998-11-15
12
426 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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 

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 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
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.:

690 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