set_hint


Description:

[ CCode ( cname = "SDL_SetHint" ) ]
public bool set_hint (string name, string hint_value)

Use this function to set a hint with normal priority.

Hints will not be set if there is an existing override hint or environment variable that takes precedence. You can use set_hint_with_priority to set the hint with override priority instead.

Parameters:

name

The hint to set. Use one of the string constants from the Hint class.

hint_value

The value of the hint variable.

Returns:

true if the hint was set. false otherwise.


Namespace: SDL.Hint
Package: sdl2