Reference

set_menu_win(3menu) on Linux

The text 6399d25050d2, as Debian 11 (Bullseye) shipped it.

make and break menu window and subwindow associations

set_menu_win(3menu) on Linux now