// Sets the title of the windowed display func (self *Display) SetTitle(str string) { cstr := cstr(str) defer cstrFree(cstr) C.al_set_window_title(self.handle, cstr) }
func (d *Display) SetWindowTitle(title string) { t := C.CString(title) defer C.free(unsafe.Pointer(t)) C.al_set_window_title((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)), t) }
func (d *Display) SetTitle(title string) { ss := C.CString(title) defer C.free(unsafe.Pointer(ss)) C.al_set_window_title((*C.ALLEGRO_DISPLAY)(d), ss) }