Window.onCanClose

get 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]
    class Window
    @property
    bool delegate
    ()
    onCanClose
    ()
  2. bool delegate() onCanClose [@property setter]

Meta