Exemple #1
0
// Scroll given window.
func (window *Window) Scroll() {
	C.scroll(window.cwin)
}
Exemple #2
0
// Scroll given window.
func (win *Window) Scroll() {
	C.scroll(win.cwin)
}
Exemple #3
0
// Scroll given window.
func (win *Window) Scroll() {
	C.scroll((*C.WINDOW)(win))
}
Exemple #4
0
func (win *Window) Scroll() error {
	if C.scroll((*C.WINDOW)(win)) == C.ERR {
		return CursesError{"scroll failed"}
	}
	return nil
}