Re: [Pharo-users] How to add a contextual menu to a Spec ListModel

2017-05-25 Thread Stephan Eggermont
On 24/05/17 11:58, Nicolai Hess wrote: It is a problem or at least confusing that the menu: method does not uses a MenuModel, but a Morphic menu. Yes. That is a bug. Stephan

Re: [Pharo-users] How to add a contextual menu to a Spec ListModel

2017-05-24 Thread Sven Van Caekenberghe
> On 24 May 2017, at 11:58, Nicolai Hess wrote: > > > > 2017-05-24 11:25 GMT+02:00 Sven Van Caekenberghe : > Hi, > > I am struggle a bit in find the right way to add a contextual menu to a Spec > ListModel. > > Consider: > > ListModel new > title: 'List Example'; > items: Smalltalk all

Re: [Pharo-users] How to add a contextual menu to a Spec ListModel

2017-05-24 Thread Nicolai Hess
2017-05-24 11:25 GMT+02:00 Sven Van Caekenberghe : > Hi, > > I am struggle a bit in find the right way to add a contextual menu to a > Spec ListModel. > > Consider: > > ListModel new > title: 'List Example'; > items: Smalltalk allClasses; > openWithSpec. > > I would like to add a right-click

[Pharo-users] How to add a contextual menu to a Spec ListModel

2017-05-24 Thread Sven Van Caekenberghe
Hi, I am struggle a bit in find the right way to add a contextual menu to a Spec ListModel. Consider: ListModel new title: 'List Example'; items: Smalltalk allClasses; openWithSpec. I would like to add a right-click contextual menu to the list, with for example a 'Browse' action. I ca