Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 944 Bytes

SDL_AddHintCallback.mediawiki

File metadata and controls

46 lines (29 loc) · 944 Bytes

Table of Contents

Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

SDL_AddHintCallback

Add a function to watch a particular hint.

Syntax

<syntaxhighlight lang="c"> void SDL_AddHintCallback(const char *name, SDL_HintCallback callback, void *userdata); </syntaxhighlight>

Function Parameters

name the hint to watch
callback An SDL_HintCallback function that will be called when the hint value changes
userdata a pointer to pass to the callback function

Version

This function is available since SDL 2.0.0.

Related Functions

SDL_DelHintCallback

CategoryAPI, CategoryHints, CategoryDraft