Click the button to create a window menu.

Click the button to remove the window menu

The custom user data from the info property of the menu item (it will appear when you select and click a menu item):