When using an options menu item is it possible to change the list of options without removing the menu item and creating a new one? I couldn't find any API that seemed to do this.
Thanks,
Bob
When using an options menu item is it possible to change the list of options without removing the menu item and creating a new one? I couldn't find any API that seemed to do this.
Thanks,
Bob
Are you looking for something like playdate.menu.item:setTitle(), etc.?
I think it's more about changing options
in the below after it has been created.
playdate.menu:addOptionsMenuItem(title, options, [initalValue], callback)
Yes, I was looking to replace the table of options. I ended up removing the current menu item and adding a new one which works fine, it just seemed odd that there wasn't an API to do that. Thanks for the responses.
I've changed this topic into a Feature Request
Makes sense as a feature, I'll file it in our system!