Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 3rd, 2006, 8:58 PM   #1
rsnd
Hobbyist Programmer
 
rsnd's Avatar
 
Join Date: Jun 2005
Location: Helltown
Posts: 162
Rep Power: 4 rsnd is on a distinguished road
GUI on linux

c/c++

Need some advice to start off. Want to learn something that is cross compitable with all windowing system like KDE and Gnome and X and u know the big list. Or are they like...auto cross compitable?

Thanks

PLEASE DO NOT POINT ME TO JAVA THANKS.
__________________
Spread your wings and fly! Chicken!
rsnd is offline   Reply With Quote
Old Mar 3rd, 2006, 8:59 PM   #2
.TD
Programmer
 
.TD's Avatar
 
Join Date: Feb 2006
Location: UK
Posts: 36
Rep Power: 0 .TD is on a distinguished road
---> Java

mwahaha.. sorry that was rather unhelp full and childish *runs away*
__________________
Go away before I replace you with a very small shell script.
--
Get FireFox!
.TD is offline   Reply With Quote
Old Mar 4th, 2006, 4:27 AM   #3
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
KDE uses the Qt toolkit, which is released under the GPL and created in C++. GNOME uses GTK, which is released under the LGPL and created in C.

GNOME programs can run under KDE and vice versa. The only problem lies in the presentation; GTK and Qt use different theme engines, so the applications produced with them always look subly different, though projects like the GTK-Qt engine and common themes like Redhat's bluecurve go some way toward solving the problem.

So you can use either toolkit, though the application you'll produce in them will have slight visual differences. I prefer Qt, myself.
Arevos is offline   Reply With Quote
Old Mar 4th, 2006, 5:10 AM   #4
AICkieran
Programmer
 
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3 AICkieran is on a distinguished road
Check WxWidgets out,

'wxWidgets gives you a single, easy-to-use API for writing GUI applications on multiple platforms. Link with the appropriate library for your platform (Windows/Unix/Mac, others coming shortly) and compiler (almost any popular C++ compiler), and your application will adopt the look and feel appropriate to that platform. On top of great GUI functionality, wxWidgets gives you: online help, network programming, streams, clipboard and drag and drop, multithreading, image loading and saving in a variety of popular formats, database support, HTML viewing and printing, and much much more.'

http://www.wxwidgets.org/
AICkieran is offline   Reply With Quote
Old Mar 4th, 2006, 5:20 AM   #5
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
WxWidgets always struck me as a little... bitty. Besides, rsnd was asking about cross-platform GUI libraries on Linux. Since WxWidgets uses GTK on Linux as it's toolkit, why not cut out the middleman?
Arevos is offline   Reply With Quote
Old Mar 4th, 2006, 7:59 AM   #6
AICkieran
Programmer
 
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3 AICkieran is on a distinguished road
True, It was just a suggestion, thanks for clearing that up
AICkieran is offline   Reply With Quote
Old Mar 4th, 2006, 8:47 AM   #7
niteice
Programmer
 
niteice's Avatar
 
Join Date: Aug 2005
Posts: 98
Rep Power: 4 niteice is on a distinguished road
Send a message via AIM to niteice
Well, wxWidgets is a lot more cross-platform than GTK - on Windows/Mac OS, it simply calls the native API so things look far far better.
niteice is offline   Reply With Quote
Old Mar 4th, 2006, 12:10 PM   #8
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
There's a Windows theme for GTK+ on Windows, so there's nothing wrong with using GTK+. Well, apart from the fact that I don't like it.

My favourite is Qt - it's easy to work with.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Mar 4th, 2006, 1:49 PM   #9
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by niteice
Well, wxWidgets is a lot more cross-platform than GTK - on Windows/Mac OS, it simply calls the native API so things look far far better.
It still seems bitty and less solid than GTK is. Bittorrent switched from wxWidgets to GTK, so presumably Bram Cohen had similar impressions.

And Qt 4 integrates natively with Windows, I believe, and is GPLed. Though no PyQt 4 as yet
Arevos is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:48 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC