Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 PySDL2 中设置窗口图标。我试着这样做
self.icon = sdl2.ext.load_image("./assets/icon.png") sdl2.SDL_SetWindowIcon(self.window, self.icon)
但是由于我使用sdl2.ext.Window它不起作用。
sdl2.ext.Window
关于我如何去做这件事的任何想法?