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

2017-05-24 Thread Sven Van Caekenberghe
Hi Hartmut, Thanks for the reply. Like I said in my previous post 'I like to stay within Spec as much as possible', it got it working fine now. Sven > On 24 May 2017, at 12:03, Hartmut Krasemann > wrote: > > Hi Sven, >> Subject: [Pharo-users] How to add

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

2017-05-24 Thread Hartmut Krasemann
Hi Sven, Subject: [Pharo-users] How to add a contextual menu to a Spec ListModel Message-ID: <5bbf6bcb-2c95-4948-932c-d14f71c0b...@stfx.eu> Content-Type: text/plain; charset=us-ascii Hi, I am struggle a bit in find the right way to add a contextual menu to a Spec ListModel. Co

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