modify_menu
Entity: predicate

Usage:
modify_menu( Menu, N, Status, String )

Here Menu has to be the menu object which you want to modify. If it is _ (underline) then the default (last created) menu is modified. Here N must be an integer expression which gives the number of the menu item which has to be modified (one for the first, two for the second and so on). If you want to change the status of this menu item then the parameter Status has to be one of the following words: normal , checked or grayed . If you want to leave the status the same then put underline in the place of Status . If you want to change the text sting of the menu item then put the new string in String . If you want to leave it the same then put underline in the place of String .

Look at the example Checkers.pro