If you’re converting a real menu to one implemented using a one-column listbox? Which may be necessary on the Pi if your menu is very tall. I had to do that already as a Pi menu that is too tall for the screen doesn’t seem to scroll.
It has always been this way, although the name was different in API 1. It’s a convenience method for people interacting with a single-column listbox. If you don’t need it, just ignore it.