func (panel *Panel) Replace(win *Window) bool { return isOk(C.replace_panel((*C.PANEL)(panel), (*C.WINDOW)(unsafe.Pointer((win))))) }
func (p *Panel) Replace(win *Window) error { if C.replace_panel(p.panel, win.win) == ERR { return Error } return nil }
// Replace panel's associated window with a new one. func (p *Panel) Replace(w *Window) error { if C.replace_panel(p.pan, w.win) == C.ERR { return errors.New("Failed to replace window") } return nil }