Menu functions¶
Both functions are available in the content and menu parsers.
zDExt_Menu_GetItemText¶
Returns the text at the specified line of a menu item. The line argument is required; pass 0 for the first line.
menuItemName– name of the menu item (case-insensitive)line– index of text lines arrayreturn– text value of menu item
| Example usage | |
|---|---|
zDExt_Menu_SetItemText¶
Sets value of specified menu item.
menuItemName– name of the menu item (case-insensitive)value– text value to setline– index of text lines arraydrawNow–TRUEto request immediate drawing,FALSEotherwise
| Example usage | |
|---|---|