且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将GUI添加到Pygame应用程序的***方式是什么?

更新时间:2023-02-17 20:51:40

这里你有一个关于如何集成和交互的解释 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.