Cross-platform GUI

  • #1
CRGreathouse
Science Advisor
Homework Helper
2,824
0
I'm thinking about writing a GUI program (a wrapper to multithread loops and automate tasks) and I was wondering if there was a way to do this in a compatible way across Windows and Linux. You see, I'm running XP at home now but I think I may convert to Xubuntu in the near future. Should I just resign myself to coding this twice, or is there a way to do what I want?
 

Answers and Replies

  • #2
424
1
Plenty of ways. wxWidgets, Qt, Tkinter, Gtk+, and so on. If Python is sufficient to act as a wrapper for your code, Tkinter would probably be the quickest way of doing things in a very portable manner (although it won't look beautiful).
 
  • #3
68
0
In addition to shoehorn's suggestions, I would like to suggest Java and it's SWING interface.
 
  • #4
CRGreathouse
Science Advisor
Homework Helper
2,824
0
Plenty of ways. wxWidgets, Qt, Tkinter, Gtk+, and so on. If Python is sufficient to act as a wrapper for your code, Tkinter would probably be the quickest way of doing things in a very portable manner (although it won't look beautiful).

I'll look into Tkinter, thanks.
 
  • #5
561
1
Qt is pretty easy to use and includes a crossplatform threading library, unfortunately you must either GPL your code or pay for a development license.
 
  • #6
zyh
135
0
Qt is pretty easy to use and includes a crossplatform threading library, unfortunately you must either GPL your code or pay for a development license.

WxWidgets allow you to use it for both GPL and commercial usage for free.
 

Related Threads on Cross-platform GUI

  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
5
Views
5K
  • Last Post
Replies
2
Views
1K
Replies
2
Views
798
  • Last Post
Replies
8
Views
3K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
3
Views
2K
  • Last Post
2
Replies
41
Views
828
  • Last Post
Replies
7
Views
3K
  • Last Post
Replies
3
Views
3K
Top