add_callback


Description:

[ Version ( since = "2.0.0" ) ]
[ CCode ( cname = "SDL_AddHintCallback" ) ]
public void add_callback (string name, HintFunc callback)

Use this function to add a function to watch a particular hint.

Parameters:

name

The hint to watch.

callback

The delegate of Hint.HintFunc type to call when the hint value changes.

Since:

2.0.0


Namespace: SDL.Hint
Package: sdl2