func (p *Panel) Above() *Panel { panel := C.panel_above(p.panel) if panel == nil { return nil } return &Panel{panel} }
// Returns a pointer to the panel below in the stack or nil. Passing nil will // return the bottom panel in the stack func Below(p *Panel) *Panel { return &Panel{C.panel_above(p.pan)} }
func (panel *Panel) Above() *Panel { return (*Panel)(C.panel_above((*C.PANEL)(panel))) }
// Returns a pointer to the panel above in the stack or nil. Passing nil will // return the top panel in the stack func (p *Panel) Above() *Panel { return &Panel{C.panel_above(p.pan)} }