C++ Learning Community Forum
September 11, 2010, 12:55:08 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hello. Smiley
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: linux gui stuff  (Read 1226 times)
ih8censorship
Megalomaniac!!!
Administrator
C++ guru
*****
Posts: 1241



View Profile
« on: March 20, 2007, 11:04:25 PM »

Im interested in making some relativly simple graphical games/gui stuff under linux. However i am a bit confused with all the toolkits and what not and im not entirely sure what i even need... like theres kits for gnome, kde (which i use mostly) , QT, wxwidgets ect, and i have no clue which one would be the best one to get started working with would be. any ideas?
Logged

PC==perfect_companion

Knowledge cannot come packaged and predigested; it must be chewed over carefully before swallowed.

What have you tried?
geralds
N00b!!1
*
Posts: 1


View Profile
« Reply #1 on: April 05, 2007, 04:15:30 PM »

Hi ih8, my only experience is with wxW (wxGTK for Linux) and that has worked well for me. I often wish I had the power and flexibility of Qt available to me, but wxW has gained many excellent features over the past year or two I've been using it, and if you're used to the Windows API and perhaps MFC you're off to a flying start.

-Gerald
Logged
myork
Global Moderator
C++ guru
*****
Posts: 1147


View Profile
« Reply #2 on: April 05, 2007, 04:39:19 PM »

OK Gnome and KDE are higher level "Windowing Toolkits".
KDE is built on-top of QT which is a lower level "Graphics Toolkit".
Gnome is built on-top of another "Graphics Toolkit" (I am not sure which one).

The "Graphics Toolkit" are all built on-top of X.

I use the term "Windows Toolkit" and "Graphics Toolkit" just to try and differentiate the types of facilities these libraries provide, these are not official terms and I just picked them up from original post.

I like KDE as my desktop.
So when I do a graphical API I use the KDE API and when I need more control I drop down to the QT interface.
The thing I like about KDE (and QT) is that the whole code base is very object orientated (PS I have not used it much just a couple of times so my experience is with the obvious easy parts).

I have no experience with Gnome but I am sure it is fine.
Logged
draco
Geek
*****
Posts: 137


View Profile
« Reply #3 on: April 05, 2007, 08:20:53 PM »

Gnome uses the Gnome ToolKit  Grin
Logged
Ravotus
Programming Addict
Global Moderator
rand()%title;
*****
Posts: 205



View Profile WWW
« Reply #4 on: April 06, 2007, 01:45:15 AM »

Well I've done a bit with the actual xLib (I believe that's what it's called, it's been a while). And although I still wasn't thrilled with the fact that it was a C style API, it was much better than the Windows API. Smiley Sadly it seems quite lacking in the variety of controls you have. You even have to make a message box yourself with a window, button, etc. :/
Logged
myork
Global Moderator
C++ guru
*****
Posts: 1147


View Profile
« Reply #5 on: April 06, 2007, 04:08:05 AM »

Well xLib is like way down at the bottom of the toolkit stack.
There are several toolkits built ontop of xLib that build higher level objects.
Logged
KTC
std::freak
Pseudo-Admin
Dr. of C++ology
*****
Posts: 636



View Profile
« Reply #6 on: April 06, 2007, 04:20:02 AM »

Gnome is built on-top of another "Graphics Toolkit" (I am not sure which one).
GTK+
Logged

A young man came to interview a bank president,

"Tell me sir, how did you become successful?"
"Two words."
"And what are they, Sir?"
"Right decisions."
"How do you make right decisions?"
"One word... experience."
"How do you get experience?"
"Two words."
"And what are they?"
"Wrong decisions."
KTC
std::freak
Pseudo-Admin
Dr. of C++ology
*****
Posts: 636



View Profile
« Reply #7 on: April 06, 2007, 04:28:50 AM »

X <- Xlib <- GTK+ <- GNOME

X <- Xlib <- Qt <- KDE

X <- Xlib <- Xt <- Motif <-

Seeing a pattern there Ravotus ? Wink
Logged

A young man came to interview a bank president,

"Tell me sir, how did you become successful?"
"Two words."
"And what are they, Sir?"
"Right decisions."
"How do you make right decisions?"
"One word... experience."
"How do you get experience?"
"Two words."
"And what are they?"
"Wrong decisions."
Ravotus
Programming Addict
Global Moderator
rand()%title;
*****
Posts: 205



View Profile WWW
« Reply #8 on: April 14, 2007, 03:51:12 AM »

Indeed, what's your point? Tongue
Logged
dr voodoo
Global Moderator
rand()%title;
*****
Posts: 214


View Profile
« Reply #9 on: April 14, 2007, 09:05:31 AM »

Indeed, what's your point? Tongue
xlib should only (mainly) be used when designing your own set of controls from ground up. If you just want to throw a GUI app together it is not what you want.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!