set_hint_enabled
Description:
Use this function to set a boolean 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. This is just a helper function that calls set_hint internally.
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