示例#1
0
func (win *Window) Refresh() os.Error {
	in()
	defer out()
	if C.wrefresh((*C.WINDOW)(win)) == 0 {
		return CursesError{"refresh failed"}
	}
	return nil
}
示例#2
0
func (win *Window) Refresh() error {
	if C.wrefresh((*C.WINDOW)(win)) == C.ERR {
		return CursesError{"refresh failed"}
	}
	return nil
}
示例#3
0
// Refresh the window so it's contents will be displayed
func (w *Window) Refresh() {
	C.wrefresh(w.win)
}
示例#4
0
文件: curses.go 项目: zozor/gocurse
func (w *Window) Refresh() error {
	if C.wrefresh(w.win) == ERR {
		return ErrorWinRefresh
	}
	return nil
}
示例#5
0
// Refresh given window.
func (window *Window) Refresh() {
	C.wrefresh(window.cwin)
}
示例#6
0
/* Refreshes the window */
func (w *Window) Refresh() {
	C.wrefresh((*C.WINDOW)(w))
}