sdl3/sdl_hints library

Functions

sdlAddHintCallback(String? name, Pointer<NativeFunction<SdlHintCallback>> callback, Pointer<Void> userdata) → bool hints
Add a function to watch a particular hint.
sdlGetHint(String? name) → String? hints
Get the value of a hint.
sdlGetHintBoolean(String? name, bool defaultValue) → bool hints
Get the boolean value of a hint variable.
sdlRemoveHintCallback(String? name, Pointer<NativeFunction<SdlHintCallback>> callback, Pointer<Void> userdata) → void hints
Remove a function watching a particular hint.
sdlResetHint(String? name) → bool hints
Reset a hint to the default value.
sdlResetHints() → void hints
Reset all hints to the default values.
sdlSetHint(String? name, String? value) → bool hints
Set a hint with normal priority.
sdlSetHintWithPriority(String? name, String? value, int priority) → bool hints
Set a hint with a specific priority.