Skip to content

raylib.SetLoadFileTextCallback

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Set custom file text data loader: a function(fileName) that returns the text as a string, or null to clear. Refused once sandboxed; not supported on web

Parameters

Parameter Default Value Note
callback null

Return value

None.

Notes

Example

raylib.SetLoadFileTextCallback function(fileName)
    print "Loading text: " + fileName
    return ""
end function

Clone this wiki locally