如何在 Lua 中制作 GUI 应用程序 [英] How can I make an GUI Application in Lua

查看:36
本文介绍了如何在 Lua 中制作 GUI 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我将向您展示我正在谈论的示例:GUI 示例

First I'll show you an example of what I am talking about: GUI Example

我已经学习 Lua 大约一个星期了,我真的很好奇我将如何做到这一点.基本上(就目前而言,出于学习目的),我只想制作一个带有 2 个按钮的 GUI,1 个用于启动指定的 (.exe),一个用于退出 GUI.

I've been studying Lua for around a week now, and I'm really curious of how I would do this. Basically (for now, and learning purposes), I just want to make a GUI with 2 buttons, 1 to start the specified (.exe), and one to exit the GUI.

这可能吗?我该怎么做呢?任何信息都会很棒!

Is this possible? How would I go about doing this? Any information would be great!

推荐答案

我相信你可能想看看:http://lua-users.org/wiki/GraphicalUserInterfaceToolkits

如果你想要一些众所周知并经过测试的东西,我会去 Qt,如果有一些简单的东西:FLTK.

If you want something well know and tested I would go to Qt, if something light: FLTK.

这篇关于如何在 Lua 中制作 GUI 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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