Window.onCanClose

set handler for closing of app (it must return true to allow immediate close, false to cancel close or close window later)

  1. bool delegate() onCanClose [@property getter]
  2. bool delegate() onCanClose [@property setter]
    class Window
    @property
    onCanClose
    (
    bool delegate
    ()
    handler
    )

Meta