Exemple #1
0
func (win *Window) Idlok(b bool) error {
	a := bool2cint(b)
	r := C.idlok((*C.WINDOW)(win), a)
	if r == C.ERR {
		return CursesError{"idlok failed"}
	}
	return nil
}
Exemple #2
0
// Hardware insert/delete feature.
func (window *Window) Idlok(bf bool) {
	C.idlok(window.cwin, C.bool(bf))
}
Exemple #3
0
// Hardware insert/delete feature.
func (win *Window) Idlok(bf bool) {
	C.idlok((*C.WINDOW)(win), C.bool(bf))
}