func (w *Window) IsClosed() (bool, error) { var closed bool aferr := C.af_is_window_closed((*C._Bool)(&closed), w.window) if aferr != 0 { return false, ErrIsWindowClosed } return closed, nil }
func (w *Window) IsClosed() (closed bool, e error) { e = af_call(C.af_is_window_closed((*C._Bool)(&closed), w.window)) return }