Is there anything that I am doing wrong here? According to the manual, this should work, but I only get the undecorated and not the change of shape and position…

from pandac.PandaModules import loadPrcFileData
loadPrcFileData("", "undecorated 1")
loadPrcFileData("", "win-width 1024")
loadPrcFileData("", "win-height 768")
loadPrcFileData("", "win-origin-x 0")
loadPrcFileData("", "win-origin-y 0")
import direct.directbase.DirectStart

My apologies - the manual has led you astray. It doesn’t always keep up with the code.

The correct variables are

win-size X Y
win-origin X Y

I’m going to have some students this fall, we’ll do a little work on the manual.