setTooltip method

void setTooltip(
  1. String? tooltip
)

Updates the system tray icon's tooltip.

\param tray the tray icon to be updated. \param tooltip the new tooltip in UTF-8 encoding. May be NULL.

\threadsafety This function should be called on the thread that created the tray.

\since This function is available since SDL 3.2.0.

\sa SDL_CreateTray

extern SDL_DECLSPEC void SDLCALL SDL_SetTrayTooltip(SDL_Tray *tray, const char *tooltip)

Implementation

void setTooltip(String? tooltip) => sdlSetTrayTooltip(this, tooltip);