[Python+Pygame] Moving window around on the screen

Started by
0 comments, last by Oluseyi 16 years, 1 month ago
I'm working on an engine/general GUI type riggie, using python & pygame. I wasn't satisfied with the way pygame integrates with the window manager, so I figured I'd initialize it NOFRAME, and draw my own titlebar. After much frigging around, I'm happy with my contraption, except that I can't drag the window to different locations on the desktop. I've looked all through the documentation, and a quick google search didn't turn up anything, so I figured I might as well ask here. Looking at the SDL docs makes me think that this might be a fruitless search. Is there anyway I can hack this to work?
Eric Richards
Advertisement
Not from within PyGame. Your options are to hack PyGame itself (from C), or find a way to use something like wx to house the PyGame surface.

This topic is closed to new replies.

Advertisement