table of contents
other versions
- experimental 3.5~git20260611~7c60bcd+ds-1
| SDL_ShowNotification(3) | SDL3 FUNCTIONS | SDL_ShowNotification(3) |
NAME¶
SDL_ShowNotification - Show a system notification with normal priority.
SYNOPSIS¶
#include <SDL3/SDL_notification.h>
SDL_NotificationID SDL_ShowNotification(const char *title, const char *message, SDL_Surface *image, SDL_NotificationAction *actions, int num_actions);
FUNCTION PARAMETERS¶
- title
- UTF-8 title text, required.
- message
- UTF-8 message text, may be NULL.
- image
- The image associated with this notification, may be NULL.
- actions
- An array of actions to attach to the notification, may be NULL.
- num_actions
- The number of actions in the actions array.
RETURN VALUE¶
Returns A non-zero SDL_NotificationID on success or 0 on failure; call SDL_GetError() for more information.
AVAILABILITY¶
This function is available since SDL 3.6.0.
SEE ALSO¶
SDL_ShowNotificationWithProperties(3), SDL_NotificationAction(3type), SDL_NotificationEvent(3type)
| SDL 3.5.0 | Simple Directmedia Layer |