Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can integrate PyGTK with SDL / pygame ?

integrate pygame PyGTK SDL
0
10 Posted

How can integrate PyGTK with SDL / pygame ?

0

There are a couple of ways to do the integration; * Inprocess This method makes it possible to use pygame / SDL in the same process as your PyGTK application, eg you use PyGTK to construct the menus, buttons and windows, but pygame to draw parts of the interface. * Out of process This is more like a frontend to an already existing application, you decouple both of the applications (the gtk frontend and the pygame application). This example will demonstrate the inprocess option, which is more attractive since it’s easier to integrate the two frameworks together.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.