---
name: "SDL_MessageBoxData"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_MessageBoxData"
---

# SDL\_MessageBoxData(3type)

MessageBox structure containing title, text, window, etc.

## NAME

SDL\_MessageBoxData - MessageBox structure containing title, text, window, etc.

## HEADER FILE

Defined in SDL3/SDL\_messagebox.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef struct SDL\_MessageBoxData** **{**     **SDL\_MessageBoxFlags flags;**     **SDL\_Window \*window;                 /\*\*\< Parent window, can be NULL \*/**     **const char \*title;                  /\*\*\< UTF-8 title \*/**     **const char \*message;                /\*\*\< UTF-8 message text \*/**     **int numbuttons;**     **const SDL\_MessageBoxButtonData \*buttons;**     **const SDL\_MessageBoxColorScheme \*colorScheme;   /\*\*\< SDL\_MessageBoxColorScheme, can be NULL to use system settings \*/** **} SDL\_MessageBoxData;**

## AVAILABILITY

This struct is available since SDL 3.2.0.
