How to make/create a GUI (Graphical User Interface) in Ada programming language? It is possible?
In Python, you can use tkinter to make a window form.
How to make/create a GUI (Graphical User Interface) in Ada programming language? It is possible?
In Python, you can use tkinter to make a window form.
I know of 5 GUI frameworks for Ada (see the Awesome Ada List for some of them)
GtkAda you can get for free from AdaCore. Claw can be purchased. I'm not familiar with Gnavi so I cannot comment on it much. I've spent more time working with Gnoga and like both it and GtkAda. GtkAda is a native framework, but I like Gnoga because you can provide the GUI via webbrowser (so more easily cross platform) or you can integrate it with a native platform (including GtkAda, Electron, etc.). I'm not familiar much with QtAda
Also note, that if you can find another C or C++ GUI library, you can write bindings for it in Ada (it has a very good external language interface).
You could try Tcl Ada Shell, which supports Tk so should, I expect, be close-ish to tkinter
. Personally I find it easiest to develop the user interface in Tcl/Tk and build the model in Ada.
Or there’s GtkAda - can be obtained from AdaCore for Linux, Windows (I assume you’re running the 2018 Community Edition?)
I would add my support for Gnoga. I like it because
© 2022 - 2024 — McMap. All rights reserved.