![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: Helltown
Posts: 162
Rep Power: 4
![]() |
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! |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Feb 2006
Location: UK
Posts: 36
Rep Power: 0
![]() |
---> Java
mwahaha.. sorry that was rather unhelp full and childish *runs away* ![]() |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
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. |
|
|
|
|
|
#4 |
|
Programmer
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3
![]() |
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/ |
|
|
|
|
|
#5 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
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?
|
|
|
|
|
|
#6 |
|
Programmer
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3
![]() |
True, It was just a suggestion, thanks for clearing that up
|
|
|
|
|
|
#7 |
|
Programmer
|
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.
|
|
|
|
|
|
#8 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
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. |
|
|
|
|
|
#9 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
And Qt 4 integrates natively with Windows, I believe, and is GPLed. Though no PyQt 4 as yet ![]() |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|