跨平台小部件工具包
我正在寻找一个跨平台小部件工具包,可用于我正在开发的 C 应用程序。该应用程序仅作为一个小型前端。我热衷于良好的设计和可用性。速度不是最重要的,但我仍然想要一些轻量级的东西。
我知道有人问过类似的问题,但我想根据我的要求得到答案。
I'm looking for a cross-platform widget toolkit that I can use for a C application that I'm developing. This application will only serve as a small front-end. I'm keen on good design and usability. Speed is less of a priority, but I'd still like something lightweight.
I realise similar questions have been asked, but I'd like an answer based on my requirements.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
对于 C,我认为主要候选者是 gtk。您希望将 C++ 用于 qt 或 wxwidgets,尽管后者也有 lua(耶!)绑定,这是绕过 格林斯潘的第十条规则。根据您的应用程序领域,像 agar 这样的不太大肆宣传(但仍然成熟)的库值得考虑。如果不是 C++,我也会提到 fltk 。真正的 leet 人们会使用 xaw 并让用户在 Windows 下安装 X 服务器。更严肃地说,eagle 必须被提及,只是为了酷炫的价值,尽管它也是 C++。 维基百科提供了更多选项。
For C, I'd say the prime canditate is gtk. You'd want to use C++ for qt or wxwidgets, though the latter also has lua (yay!) bindings, which is the C way to get around Greenspun's tenth rule. Depending on your application domain less-hyped (but still mature) libraries like agar deserve some consideration. I'd mention fltk if it weren't for C++, too. Truly leet people would use xaw and have users install an X server under windows. On an again more serious note, eagle has to be mentioned just for coolness value, although being C++, too. Wikipedia gives yet more options.
C 最明显的选择可能是 GTK+ (是的,尽管名称中有“+”,但它是一个 C 工具包,尽管您当然可以在 C++ 中使用它)。
The most obvious choice for C would probably be GTK+ (and yes, despite the "+" in the name, it's a C toolkit, though you can certainly use it from C++).
我想说,使用 GTK-server。
I would say, use GTK-server.