SDL_SetStringProperty

Set a string property in a group of properties.

This function makes a copy of the string; the caller does not have to preserve the data after this call completes.

extern (C) nothrow @nogc extern
bool
SDL_SetStringProperty
(,
const(char)* name
,
const(char)* value
)

Parameters

props SDL_PropertiesID

the properties to modify.

name const(char)*

the name of the property to modify.

value const(char)*

the new value of the property, or NULL to delete the property.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError for more information.

Threadsafety: It is safe to call this function from any thread.

See Also

Meta