Overclockers Australia Forums
OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > Programming & Software Development

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 13th August 2002, 4:49 PM   #1
farkenhell Thread Starter
Member
 
farkenhell's Avatar
 
Join Date: Dec 2001
Location: London
Posts: 214
Default X-Windows programming

I have some C++ coding skills but have never programmed an app in a graphical environment. I want to learn to code for X-Windows, does anyone know of a good and up-to-date tutorial/introduction to programming in X?
Preferably something that concentrates on the basics (window creation/management etc) rather than on how to use the tutorial author's favourite toolkit.
farkenhell is offline   Reply With Quote

Join OCAU to remove this ad!
Old 13th August 2002, 6:02 PM   #2
Geo
Member
 
Join Date: Jun 2001
Location: Adelaide
Posts: 2,377
Default Re: X-Windows programming

Quote:
Originally posted by farkenhell
I have some C++ coding skills but have never programmed an app in a graphical environment. I want to learn to code for X-Windows, does anyone know of a good and up-to-date tutorial/introduction to programming in X?
Preferably something that concentrates on the basics (window creation/management etc) rather than on how to use the tutorial author's favourite toolkit.
Programming in straight X windows is pretty tricky. If you havent got alot of C experience it could be pretty hard. I'd recommend something like QT. It is in C++, which makes it easier if thats what you are used to, has excellent documentation, and a really simple, effective callback model.

QT is used to program alot of X windows applications such as Opera and KDE, it is more high level than X Windows so you should find it alot easier to pick up.
__________________
"That's the way good software gets designed. So if you pull out a piece it won't run" - Steve Ballmer
Geo is offline   Reply With Quote
Old 13th August 2002, 6:29 PM   #3
Tanus
Member
 
Tanus's Avatar
 
Join Date: Jun 2001
Location: Melbourne
Posts: 924
Default

I'll second QT. Much simpler to get a hold of than straight X. You might want to try something like www.fltk.org or other window toolkits to find something you like.
Tanus is offline   Reply With Quote
Old 13th August 2002, 8:30 PM   #4
farkenhell Thread Starter
Member
 
farkenhell's Avatar
 
Join Date: Dec 2001
Location: London
Posts: 214
Default

Ok thanks, I'll take a look at it.

Hmm I seem to remember there being an option to develop a QT project from kdevelop.

I did find a tutorial using Xlibs.h, but it was pretty dodgy. It seemed to have an attempt at OO but violated basic encapsulation rules among other nasties I spotted.

QT it is.
farkenhell is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 10:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!