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?
Cross-Platform GUI: Compatible Windows & Linux Solutions
- Thread starter CRGreathouse
- Start date
-
- Tags
- Gui
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
Physics news on Phys.org
shoehorn
- 420
- 2
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).
computerex
- 68
- 0
In addition to shoehorn's suggestions, I would like to suggest Java and it's SWING interface.
shoehorn said: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.
Coin
- 564
- 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.
zyh
- 135
- 0
Coin said: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.
Similar threads
- chroot
- · Replies 24 ·
- Computing and Technology
- Replies
- 24