将 GUI 添加到 Pygame 应用程序的最佳方法是什么? [英] What's the best way to add a GUI to a Pygame application?

查看:32
本文介绍了将 GUI 添加到 Pygame 应用程序的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何好的 GUI 支持 Pygame 表面作为应用程序中的小部件?

Are there any good GUIs that support Pygame surfaces as a widget within the application?

如果这不可能或不实用,哪个 GUI 工具包具有最好的图形组件?我希望通过 SDL 包装器保持快速渲染.

If this isn't possible or practical, what GUI toolkit has the best graphics component? I'm looking to keep the speedy rendering made possible by a SDL wrapper.

推荐答案

这里你有解释关于如何集成和交互wxPythonPygame.

Here you have an explanation on how to integrate and make interact wxPython and Pygame.

在我看来最好的 GUI 工具包是 wxPython(wxWidgets 的绑定),它实际上具有用于包括 OpenGL 小部件和一些工作在内的所有内容也已使用 SDL 完成.

Best GUI toolkit in my opinions is wxPython (a binding for wxWidgets) which has GUI widgets for practically everything including an OpenGL widget and some work has been done with SDL as well.

这篇关于将 GUI 添加到 Pygame 应用程序的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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