pyGame within a pyGTK application

前端 未结 7 1878
小鲜肉
小鲜肉 2021-01-12 00:54

What is the best way to use PyGame (SDL) within a PyGTK application?

I\'m searching for a method that allows me to have a drawing area in the GTK window and at the s

7条回答
  •  难免孤独
    2021-01-12 01:39

    PyGame works much better when it can manage its own window, or even better, use the whole screen. GTK has flexible enough widgets to allow creation of a drawing area.

    This page may help, though, if you want to try it.

提交回复
热议问题