Panda Without Graphic Window

Hi everybody!

Is it possible to suppress the creation of the graphic window when Panda starts? I’m doing some unit testing of classes that rely on Panda’s environment but provide only text output. When I run the test harness the black window flashes briefly and it’s a bit of a nuisance. Can it be avoided?

Thanks for your help!

Manu

P.S. on a side note, does anybody know how to change the colors of PyPE?

Yes, using the “window-type none” in the Config.prc.

E.g. put this before importing DirectStart:

from pandac.PandaModules import loadPrcFileData
loadPrcFileData("", "window-type none")

Neat! Thank you!

Manu