Previous: , Up: API Reference   [Contents][Index]


3.12 Hints

(use-modules (sdl2 hints))
Procedure: get-hint hint

Get the string value of hint or #f if if hint is unset.

Procedure: set-hint! hint value [priority]

Set hint to value at priority level priority. priority can be one of the symbols default, normal or override and defaults to normal. value will automatically be converted to a string if it is a boolean or a number.

Inside SDL2, the macro SDL_HINT_SOME_HINT corresponds to the environment variable SDL_SOME_HINT. In Guile-SDL2, this hint would be represented by the symbol some-symbol.