MenuItemBase
The base class of every menu and menu item type.
It is not constructible on its own: create a {@linkcode Menu}, {@linkcode Submenu}, {@linkcode MenuItem}, {@linkcode CheckMenuItem}, {@linkcode IconMenuItem} or {@linkcode PredefinedMenuItem} instead. It provides the id shared by all of them and, through {@linkcode Resource}, the rid and close() used to release the Rust-side object.