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

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

问题描述



如果这不可行或不切实际,那么GUI工具包有最好的图形零件?我期望通过SDL封装保持快速渲染的可能性。

解决方案

这里你有一个关于如何集成和交互的解释 wxPython Pygame



我认为最好的GUI工具包是 wxPython (一个wxWidgets的绑定),它具有几乎所有的GUI部件,包括OpenGL部件和一些 work 也已在SDL中完成。


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

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.

解决方案

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

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天全站免登陆