---
name: "SDL_TrayEntryFlags"
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_TrayEntryFlags"
---

# SDL\_TrayEntryFlags(3type)

Flags that control the creation of system tray entries.

## NAME

SDL\_TrayEntryFlags - Flags that control the creation of system tray entries.

## HEADER FILE

Defined in SDL3/SDL\_tray.h

## SYNOPSIS

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

**typedef Uint32 SDL\_TrayEntryFlags;** **#define SDL\_TRAYENTRY\_BUTTON      0x00000001u /\*\*\< Make the entry a simple button. Required. \*/** **#define SDL\_TRAYENTRY\_CHECKBOX    0x00000002u /\*\*\< Make the entry a checkbox. Required. \*/** **#define SDL\_TRAYENTRY\_SUBMENU     0x00000004u /\*\*\< Prepare the entry to have a submenu. Required \*/** **#define SDL\_TRAYENTRY\_DISABLED    0x80000000u /\*\*\< Make the entry disabled. Optional. \*/** **#define SDL\_TRAYENTRY\_CHECKED     0x40000000u /\*\*\< Make the entry checked. This is valid only for checkboxes. Optional. \*/**

## DESCRIPTION

Some of these flags are required; exactly one of them must be specified at the time a tray entry is created. Other flags are optional; zero or more of those can be OR'ed together with the required flag.

## AVAILABILITY

This datatype is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_InsertTrayEntryAt**(3)](/SDL_InsertTrayEntryAt/3.md)
