sdl2/generated/lib_sdl_hints library

Functions

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