Help required in refreshing MenuModel

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Help required in refreshing MenuModel

Jigyasa Grover
Hi

I have been building a Pharo UI using Spec.

I utilized MenuModel for building a menu, and now I want to refresh the menuafter an item in it has been clicked.

For example: I click option1 in menu and some other item (say option2) in menu changes to option3.

I hope my question is clear.

I tried:

-- menu autoRefresh: true.

I was planning to use the initializePresenter method, but am stuck currently.

Help appreciated.


Best
Jigyasa