Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

platform independent GUI

I want to make GUI for my application. It should work on multiple platforms. I want most of the code to be portable for all the OS (unix, windows, MAC).

GTK and GLib looks as a good solution. I want to use native APIs too

How to do this all??

like image 211
user739711 Avatar asked May 19 '11 07:05

user739711


People also ask

What is the best cross-platform GUI?

Flutter: The First Choice for Cross-Platform GUI Development.

What is a cross-platform GUI?

August 4, 2022. A cross-platform GUI is a great tool for designing apps and software that can run seamlessly on: Android, iOS, macOS, Windows, and Linux. So why create apps for different platforms when you can make one for all in less effort and expense?

How do GUI toolkits work?

A GUI framework like Qt generally works by taking the existing OS's primitive objects (windows, fonts, bitmaps, etc), wrapping them in more platform-neutral and less clunky classes/structures/handles, and giving you the functionality you'll need to manipulate them.

What type application do we produce with wxWidgets?

wxWidgets is a C++ library that lets developers create applications for Windows, macOS, Linux and other platforms with a single code base.


2 Answers

Qt may be good for that.

like image 74
Juraj Blaho Avatar answered Sep 23 '22 17:09

Juraj Blaho


I like WxWidgets, really easy to use. It has bindings for multiple languages and you can mix it's C++ implementation with Win32 API (C code) easily.

http://www.wxwidgets.org/

A more lightweight alternative is FLTK

http://www.fltk.org/index.php

like image 26
danron Avatar answered Sep 20 '22 17:09

danron