can-exit? in frame:basic-mixin
Called before
on-exit to check whether an exit is allowed. See
on-exit for more information.
(booleansenda-frame:basic-mixincan-exit?This, together with
on-exitmimicsexit:exit.First, it calls
exit:set-exitingwith#t. Then, it callsexit:can-exit?. If it returns#t, so does this method. If it returns#f, this method callsexit:set-exitingwith#f.