SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_PROP_GLOBAL_NOTIFICATION_HEADER_ICON_STRING

The path to an image to be used as the header icon for system notifications on some platforms.

Header File

Defined in <SDL3/SDL_notification.h>

Syntax

#define SDL_PROP_GLOBAL_NOTIFICATION_HEADER_ICON_STRING "SDL.notification.header_icon"

Remarks

This is required on: - Windows - *nix when not running in a container, and no .desktop entry is available

Image types supported depend on the platform, but .png generally offers the best compatability.

On *nix platforms, this can also be the name of a system icon, as specified by the Icon Naming Specification.

Can be set before calling SDL_ShowNotification() or SDL_ShowSimpleNotification() for the first time.

Version

This macro is available since SDL 3.6.0.


CategoryAPI, CategoryAPIMacro, CategoryNotification


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.