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

	return nil
}
예제 #2
0
func (w *Window) SetTitle(title string) error {
	return af_call(C.af_set_title(w.window, C.CString(title)))
}