Esempio n. 1
0
func (win *Window) Refresh() os.Error {
	in()
	defer out()
	if C.wrefresh((*C.WINDOW)(win)) == 0 {
		return CursesError{"refresh failed"}
	}
	return nil
}
Esempio n. 2
0
func (win *Window) Refresh() error {
	if C.wrefresh((*C.WINDOW)(win)) == C.ERR {
		return CursesError{"refresh failed"}
	}
	return nil
}
Esempio n. 3
0
// Refresh the window so it's contents will be displayed
func (w *Window) Refresh() {
	C.wrefresh(w.win)
}
Esempio n. 4
0
func (w *Window) Refresh() error {
	if C.wrefresh(w.win) == ERR {
		return ErrorWinRefresh
	}
	return nil
}
Esempio n. 5
0
// Refresh given window.
func (window *Window) Refresh() {
	C.wrefresh(window.cwin)
}
Esempio n. 6
0
/* Refreshes the window */
func (w *Window) Refresh() {
	C.wrefresh((*C.WINDOW)(w))
}