func (f *Form) MenuItem() (*fyne.MenuItem, error) {
	if f.HasMenu() {
		mi := fyne.NewMenuItem(f.Title, f.render)
		return mi, nil
	} else {
		return nil, fmt.Errorf("forms %s is private", f.Title)
	}
}
// get the menuitem that will diplay the panell
get the menuitem that will diplay the panell
// get the menuitem that will diplay the panell
func (f *Form) MenuItem() (*fyne.MenuItem, error) {
	if f.HasMenu() {
		mi := fyne.NewMenuItem(f.Title, f.render)
		return mi, nil
	} else {
		return nil, fmt.Errorf("forms %s is private", f.Title)
	}
}
func ( f * Form ) MenuItem ( ) ( * fyne . MenuItem , error ) { if f . HasMenu ( ) { mi := fyne . NewMenuItem ( f . Title , f . render ) return mi , nil } else { return nil , fmt . Errorf ( " " , f . Title ) } }
get the menuitem that will diplay the panell
get the menuitem that will diplay the panell