logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_HINT_APP_NAME - A variable setting the application name.

Availability

       This hint is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                               SDL_HINT_APP_NAME(3)

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.

Header File

       Defined in SDL3/SDL_hints.h

Name

       SDL_HINT_APP_NAME - A variable setting the application name.

Synopsis

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

See Also