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

# SDL\_HINT\_APP\_NAME(3)

A variable setting the application name.

## NAME

SDL\_HINT\_APP\_NAME - A variable setting the application name.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_APP\_NAME** *SDL\_APP\_NAME"*

## DESCRIPTION

This hint lets you specify the application name sent to the OS when required. For example, this will often appear in volume control applets for audio streams, and in lists of applications which are inhibiting the screensaver. You should use a string that describes your program ("My Game 2: The Revenge")

This will override

**SDL\_PROP\_APP\_METADATA\_NAME\_STRING** , if set by the application.

This hint should be set before SDL is initialized.

## AVAILABILITY

This hint is available since SDL 3.2.0.
