Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-08-2005, 06:44 PM   #1
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
cross platform question GTK+vs.wxwidgets

I want to write GUI programs to run on at least linux and win32. Can Gtk+ run on win32 well? Must I learn wxwidgets to have cross platform support? I have seen great Gtk+ applications like Gaim run on Linux and win32, how much code change, if any, was needed?

Essentially I want suggestions on what toolkit to use. I have ruled out Qt and Motif for various reasons and I want an open source toolkit for sure. I also prefer C to C++ which is one reason I like Gtk+.

Old 01-08-2005, 10:23 PM   #2
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
GTK+ can run on Windows but not as well like wxWidgets because wxWidgets use native widget. But as time goes by, the GTK+ support in Windows is better...... One draw back of GTK+ programming in Windows is you have to install the GTK+ runtime library before you can run GTK+ program in Windows. But if you do wxWidgets programming, you don't need to do that.
Old 01-09-2005, 08:49 AM   #3
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30
So in wxWidgets once you compile it for win32 you can just give out a binary users can run (no installation of any wx stuff needed..), while in gtk+ you must include, like you said, an installation of gtk+ for runtime support of the binary?
Old 01-09-2005, 10:03 AM   #4
Registered: Jun 2003
Distribution: Gentoo and Ubuntu
Posts: 95

Rep: Reputation: 15
Usually, yes. You might need to give a few dll files, but that is the same even with 'regular' Windows applications.
Old 01-09-2005, 11:25 AM   #5
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best cross platform ide? bobwall Programming 3 11-10-2011 03:16 PM
wxwidgets or gtk?? logicalfuzz Linux - Software 3 09-21-2005 12:43 PM
cross platform c++ nyomon Programming 6 07-03-2005 03:24 PM
Cross-Platform LibAO Ross Clement Programming 0 03-05-2005 05:19 AM
Cross Platform biggiefatts Linux - Software 4 06-04-2002 03:00 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration