GUI for Mac and Windows

I am currently looking for a graphical interface infrastructure that looks and works based on Mac and Windows. In addition, I do not want to use C ++, but, for example, C #, Java, Ruby or Python.

thanks a lot.

+4
source share
7 answers

Take a look at wxWidgets or QT .

However, keep in mind that these tools will help you get closer to the platform. It usually feels β€œnormal” on Windows, but on a Mac it usually looks and looks more like a β€œported” Windows application than a native application. Demanding, as Mac users, they don't like it very much ... Also, you are often limited to a common subset of systems.

If you want to create a great application, consider splitting your code into a platform neutral business layer and a GUI layer on a platform, as well as implement a graphical interface on each platform using its own tools for this platform. Yes, it will be more work, but depending on your goals, it may be worth it.

+10
source

wxPython should meet your needs.

+5
source

In Java, you can use SWT , which is a wrapper around your own widgets available on different operating systems.

If you are developing in Eclipse, then also look at the Jigloo graphical GUI constructor, which can generate SWT code (and can handle manual changes to the generated code). It has a pretty nice step-by-step tutorial that helps you easily create your first SWT window.

+5
source

Have you considered using the QT framework ? This is a cross-platform toolkit that works on all major operating systems. The main code is C ++, but they have bindings for most popular languages, including C # and Ruby. I am also confident in Python

+3
source

What about Java and Swing? It works well, and there are extensions from Apple to deal with some features (Apple menus, etc.).

+2
source

Try using tkinter.ttk. A good tutorial can be found at http://www.tkdocs.com/tutorial/firstexample.html

Make sure you select python from the drop-down menu on the right side of the tutorial. alt text
If you make the tutorial one page (link in the second line of the menu), you can download the tutorial for offline viewing.

+2
source

Check out wxWidgets or Qt framework

+1
source

All Articles