pygame-ce icon indicating copy to clipboard operation
pygame-ce copied to clipboard

Port SDL_FlashWindow

Open Starbuck5 opened this issue 1 year ago • 1 comments
trafficstars

This one of the few SDL Windows features we don't have ported in pygame.Window.

https://wiki.libsdl.org/SDL2/SDL_FlashWindow (seems to be unchanged in SDL3)

This seems a fun and relatively straightforward addition.

API design wise, I think this could be window.flash(operation), and operation could be a flag representing https://wiki.libsdl.org/SDL2/SDL_FlashOperation ?

Starbuck5 avatar Aug 11 '24 23:08 Starbuck5

Do you prefer "verbose" constants names such as "WINDOW_FLASH_CANCEL" or "FLASH_CANCEL"?

damusss avatar Aug 13 '24 09:08 damusss