Esempio n. 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
}
Esempio n. 2
0
func (w *Window) SetTitle(title string) error {
	return af_call(C.af_set_title(w.window, C.CString(title)))
}