flash method

bool flash(
  1. int operation
)

Request a window to demand attention from the user.

\param window the window to be flashed. \param operation the operation to perform. \returns true on success or false on failure; call SDL_GetError() for more information.

\threadsafety This function should only be called on the main thread.

\since This function is available since SDL 3.1.3.

extern SDL_DECLSPEC bool SDLCALL SDL_FlashWindow(SDL_Window *window, SDL_FlashOperation operation)

Implementation

bool flash(int operation) {
  return sdlFlashWindow(this, operation);
}