Jump to content
  • Advertisement
Sign in to follow this  
Megaman_22

[Python+Pygame] Moving window around on the screen

This topic is 3773 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!