Menu library MenuIcheck() MenuDisable()
Programming guideline of WinDom

MenuText()

NAME

MenuText - change the text of a menu item.

PROTOTYPAGE

int MenuText( WINDOW *win, int index, char *txt);

PARAMETERS

win:
window descriptor or NULL,

index:
index of the menu item,

txt:
new text,

return:
0 if no error.

DESCRIPTION

MenuText() is the WinDom eqivalent of the AES menu_text() function. It is used to change the text of an item in a window menu or the desktop menu. MenuText() should be always used instead of ObjcString().

SEE ALSO

MenuBar()