func (w *Window) SetTitle(title string) error { aferr := C.af_set_title(w.window, C.CString(title)) if aferr != 0 { return ErrSetTitle } return nil }
func (w *Window) SetTitle(title string) error { return af_call(C.af_set_title(w.window, C.CString(title))) }