sdlClickTrayEntry function tray

void sdlClickTrayEntry(
  1. Pointer<SdlTrayEntry> entry
)

Simulate a click on a tray entry.

\param entry The entry to activate.

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

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC void SDLCALL SDL_ClickTrayEntry(SDL_TrayEntry *entry)

Implementation

void sdlClickTrayEntry(Pointer<SdlTrayEntry> entry) {
  final sdlClickTrayEntryLookupFunction = _libSdl
      .lookupFunction<
        Void Function(Pointer<SdlTrayEntry> entry),
        void Function(Pointer<SdlTrayEntry> entry)
      >('SDL_ClickTrayEntry');
  return sdlClickTrayEntryLookupFunction(entry);
}