sdlRemoveTrayEntry function tray

void sdlRemoveTrayEntry(
  1. Pointer<SdlTrayEntry> entry
)

Removes a tray entry.

\param entry The entry to be deleted.

\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_GetTrayEntries \sa SDL_InsertTrayEntryAt

extern SDL_DECLSPEC void SDLCALL SDL_RemoveTrayEntry(SDL_TrayEntry *entry)

Implementation

void sdlRemoveTrayEntry(Pointer<SdlTrayEntry> entry) {
  final sdlRemoveTrayEntryLookupFunction = _libSdl
      .lookupFunction<
        Void Function(Pointer<SdlTrayEntry> entry),
        void Function(Pointer<SdlTrayEntry> entry)
      >('SDL_RemoveTrayEntry');
  return sdlRemoveTrayEntryLookupFunction(entry);
}