Beispiel #1
0
func (panel *Panel) Show() bool {
	return isOk(C.show_panel((*C.PANEL)(panel)))
}
Beispiel #2
0
func (p *Panel) Show() error {
	if C.show_panel(p.panel) == ERR {
		return Error
	}
	return nil
}
Beispiel #3
0
// Show the panel, if hidden, and place it on the top of the stack.
func (p *Panel) Show() error {
	if C.show_panel(p.pan) == C.ERR {
		return errors.New("Failed to show panel")
	}
	return nil
}