Ada 编程语言的 GUI [英] GUI in Ada programming language

查看:33
本文介绍了Ada 编程语言的 GUI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 Ada 编程语言制作/创建 GUI(图形用户界面)?有可能吗?

How to make/create a GUI (Graphical User Interface) in Ada programming language? It is possible?

在 Python 中,你可以使用 tkinter 来制作一个窗体.

In Python, you can use tkinter to make a window form.

推荐答案

我知道 Ada 的 5 个 GUI 框架(请参阅 一些很棒的 Ada 列表)

I know of 5 GUI frameworks for Ada (see the Awesome Ada List for some of them)

  1. GtkAda
  2. Gnavi
  3. Gnoga
  4. QtAda

GtkAda 您可以从 AdaCore 免费获得.可以购买.我对 Gnavi 不熟悉,所以我无法对其发表太多评论.我花了更多时间使用 Gnoga 并且喜欢它和 GtkAda.GtkAda 是一个原生框架,但我喜欢 Gnoga 因为您可以通过网络浏览器提供 GUI(因此更容易跨平台),或者您可以将其与本机平台(包括 GtkAda、Electron 等).我对 QtAda

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

另外请注意,如果你能找到另一个 C 或 C++ GUI 库,你可以在 Ada 中为它编写绑定(它有一个非常好的外部语言接口).

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).

这篇关于Ada 编程语言的 GUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆