original commit: 4495ad4fc694a0c616fd6e3083a3c78de20f0a69
This commit is contained in:
Robby Findler 2002-09-18 14:57:23 +00:00
parent 053eca925e
commit 1bf454ad07

View File

@ -255,21 +255,22 @@
"Registers \\var{cb}. Next time the"
"user clicks the OK button the preferences"
"dialog, all of the \\var{cb} functions"
"are called. If any of them return \\scm{\\#f},"
"the dialog is not closed."
""
"See also"
"@flink preferences:add-on-close-dialog-callback")
"are called, assuming that each of the callbacks"
"passed to"
"@flink preferences:add-on-close-dialog-callback"
"succeed.")
(preferences:add-can-close-dialog-callback
((-> boolean?) . -> . void?)
(cb)
"Registers \\var{cb}. Next time the"
"user clicks the OK button the preferences"
"dialog, all of the \\var{cb} functions"
"are called, assuming that each of the callbacks"
"passed to"
"@flink preferences:add-on-close-dialog-callback"
"succeed.")
"are called. If any of them return \\scm{\\#f},"
"the dialog is not closed."
""
"See also"
"@flink preferences:add-on-close-dialog-callback %"
".")
(autosave:register
((and/f (is-a?/c autosave:autosavable<%>)