win32gui.SetMenu

SetMenu(hwnd, hmenu)

Sets the menu for the specified window.

Parameters

hwnd : int

hmenu : int