Desktop graphics - or “skinned” windows

前端 未结 2 731
执念已碎
执念已碎 2021-01-06 17:31

I\'m looking for a way to draw animations right on the desktop. No window frames and with transparent background.

I\'m using Python in windows XP for it, but it does

2条回答
  •  余生分开走
    2021-01-06 18:07

    If you want a frameless window, there are several options. For example, pygame can be initialized with the following flag:

    pygame.init()
    screen = pygame.display.set_mode(size=(640,480), pygame.NOFRAME)
    

    Your question doesn't make it clear if you're looking for a transparent surface, though.

提交回复
热议问题