Reference

set_menu_win(3menu) on Linux

The text ccbdb303f199, as Debian 10 (Buster) shipped it.

make and break menu window and subwindow associations

set_menu_win(3menu) on Linux now