newfilehook
newfilehook
Function prototype:
hook ()
Synopsis
Use with:
add_hook(hookname, func[, prepend])
remove_hook(hookname, func)
where hookname is newfilehook.
This hook is called before the New Document panel is displayed to open a new document.