跨平台,与语言无关的GUI标记语言? [英] Cross Platform, Language Agnostic GUI Markup Language?

查看:105
本文介绍了跨平台,与语言无关的GUI标记语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我那天回来学习了Swing,但是现在我已经转向Python,并且想要制作一些带有GUI的应用程序.我没有时间学习新的GUI API,所以我一直在使用Jython,但我更喜欢使用CPython.

I learned Swing back in the day but now I've moved to Python and want to make some apps with GUIs. I haven't had the time to learn a new GUI API so I've been using Jython, but I would prefer to use CPython.

如果我可以使用一个简单的标记来切换GUI库,那就太好了.如果我可以跨语言使用相同的标记语言,那将更好,这样我就可以快速为所使用的任何语言制作GUI.有人知道这样的标记/库吗?

It would be great if I can have one simple markup that allows me to switch GUI libraries. It would be even better if I can use the same markup language across languages so I can quickly make GUIs for any language I'm using. Does anyone know of such a markup/library?

我看过诸如Glade和wxWidget的标记之类的标记(我忘记了名称).它们部分是我要寻找的东西(无需使用语言编写GUI即可生成GUI),但它们与特定的库交织在一起.而且它们看起来都不是很好看或不易于人工编辑.

I've seen markups like Glade and wxWidget's markup (I forget the name). They're partly what I'm looking for (making a GUI without coding it in a language) but they're intertwined with a specific library. And neither are really nice looking or friendly to human editting.

推荐答案

erm .. HTML? (试图在这里变得有趣...,我们等待真正的答案时..)

erm.. HTML? (trying to be funny here... while we wait for real answers..)

这篇关于跨平台,与语言无关的GUI标记语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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