LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Linux/windows Cross Platform Gui toolkit. (http://www.linuxquestions.org/questions/programming-9/linux-windows-cross-platform-gui-toolkit-249026/)

mr_segfault 10-30-2004 05:16 AM

Linux/windows Cross Platform Gui toolkit.
 
I have a program which I want to make cross platform compatible.

I want the interface to look exactly the same, regardless of the platform.

Is there a good gui toolkit that you would suggest?

I have abstracted the presentation layer from the rest of the code base so integration should be simple.

I originally wrote it for windows and the interface looked like:
http://homepages.picknowl.com.au/abr...s/CyberLab.jpg

The code has already been ported to Linux, but I would like to create an interface that is similar to the one shown above that will be cross platform compatible between Windows and Linux and if possible Mac.

The project code base is C++..

Cheers.
..segfault

Tinkster 10-30-2004 02:46 PM

Safest bet is probably Qt ... downside: the windows
bit isn't free :) Have a browse on http://freshmeat.net ,
there's a few others around that I haven't seen/used.


Cheers,
Tink

jlliagre 10-30-2004 03:55 PM

wxwidgets looks like fitting your needs:

http://wxwindows.org/

vineetsunshine 10-31-2004 05:26 AM

wxWindows and Qt provides the look and feel like the underlying plateform. If u want to stick with the same look and feel and think you should use Tkinter and Tix toolkit that comes with standard Python Distribution. But this will work only if you want to go with Python :-)

Dodgeram01 10-31-2004 09:54 AM

I would use wxWidgets (formerly, wxWindows).

Ernest0x 10-31-2004 10:16 AM

The FLTK Toolkit may have fewer capabilities in relation to Qt or wxWidgets, but is just fine for a great variety of projects including the one you are interested in and, moreover, it keeps the same look 'n' feel in every supported platform.

vharishankar 10-31-2004 10:26 AM

This may sound silly, but did you ever consider Java?

mr_segfault 10-31-2004 05:57 PM

Thanks all for your suggestions,

The current port I have done, uses wxWindows for the interface, but I find xwWindows is a little bloated for my needs and does not maintain an identical look accross platforms.

I am not a fan of QT and it too suffers with the bloat factor, but it is still an option.

Tkinter would probably be ok, but this is already written in C++, and I have no Python experience.

The FLTK Toolkit looks quite good and might suit my needs, thanks. I will take a look at this.

I have also considered Java, although the JNI looks like it could make this a less than simple.

Thanks again for your input.

..segfault


All times are GMT -5. The time now is 09:29 AM.