Example #1
0
func (p *Panel) Above() *Panel {
	panel := C.panel_above(p.panel)
	if panel == nil {
		return nil
	}
	return &Panel{panel}
}
Example #2
0
// 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)}
}
Example #3
0
func (panel *Panel) Above() *Panel {
	return (*Panel)(C.panel_above((*C.PANEL)(panel)))
}
Example #4
0
// 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)}
}