将GUI添加到Pygame应用程序的最佳方式是什么? [英] What's the best way to add a GUI to a Pygame application?
问题描述
如果这不可行或不切实际,那么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屋!