edit-menu:clear-on-demand in frame:standard-menus<%>
The menu item's on-demand method calls this method
( -> void
send a-frame:standard-menus edit-menu:clear-on-demand item)
item : menu-item%
Defaultly is this:
(lambda (item) (let* ((editor (get-edit-target-object)) (enable? (and editor (is-a? editor editor<\%>) (send editor can-do-edit-operation? (quote clear))))) (send item enable enable?)))