Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > The Conversation Pit > Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Programming A discussion forum for programs and programming used in tech-related businesses.

Reply
 
Thread Tools
Old 03-11-2008, 10:51 AM   #1 (permalink)
Registered User
 
Join Date: Aug 2007
Posts: 50
OS: Windows Vista Home Premium


Programming in X11

I am a CS student who knows a bit of C++ (I've gone as far as pointers, recursion, classes, pass by reference). I'm going to be helping out on a project to create a GUI for a new operating system. I want to look into programming a window manager in X11, but I can't find any good tutorials online for my level of experience. Does anyone know of a book or a website where I can find information on how to get started with X11 window programming? I'm also running Vista (keep your comments to yourself), and I need to know what compilers, debuggers, etc. I will need to run any programs. Thank you
sbussy89 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 03-14-2008, 04:54 PM   #2 (permalink)
Moderator
 
shuuhen's Avatar
 
Join Date: Sep 2004
Location: Colorado
Posts: 731
OS: Mac OS 9.1, Mac OS X 10.5.5, WinXP Pro, FreeBSD 6.0, Gentoo Linux


Re: Programming in X11

I can't help much with what compilers you'd need on Vista (I rarely even use XP myself, so I can't quickly answer it). You might initially look at Cygwin or DevC++ (which includes MinGW). I don't have much experience with either, but there may be some limitations with one or the other (like Cygwin can't use free() properly in C and can't use ncurses).

You could consider using Qt or wxWidgets for a graphics library. You could start by browsing the KDE (or another desktop environment) developer's documentation. fluxbox might be a small enough window manager that you could look over its code, although it may be in pure C. KDE and Qt may be a good bet since I think both are geared towards C++. I think you can also do KDE/Qt stuff on Windows, so you may be able to experiment and work with those from within Windows.

Here's a link to the documentation area for KDE: http://techbase.kde.org/index.php?title=Development

I don't think I ever had much luck with finding pure X11 programming documentation, but I haven't done huge amounts of GUI programming.
__________________


Has it been a few days since I replied to your thread? Don't panic! I'm a busy college student and may forget a post if I'm extra busy (or it might just take me a while to be able to do a decent reply). If you still need help and are awaiting my reply after a few days, PM me about it.

When posting what errors you get, please give the full message. It makes helping you much easier.
shuuhen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 06:16 AM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82