
Add a "position" argument to addMenuItem, and pass it to the underlying box layout. If undefined or null, it adds at the end.
Add a "position" argument to addMenuItem, and pass it to the underlying box layout. If undefined or null, it adds at the end.