[Pharo-users] ButtonPresenter in Spec2

Norbert Hartl norbert at hartl.name
Sun Feb 2 02:43:59 EST 2020

> Am 02.02.2020 um 02:35 schrieb Steve Quezadas <steveeq1 at gmail.com>:
> Is [ButtonPresenter] in the new spec2? In Spec1, anyway, it seems to be subclassed from [AbstractWidgetPresenter] which is subclassed from [ComposablePresenter], but doesn't seem anywhere in the Spec2 package, as far as I can tell. 
> I checked spotter and it seems [ButtonPresenter] is deprecated now. What is the "Spec2" way of placing buttons? There are references to it in some of the demos, but I can't get the demos to work. 

It is SpButtonPresenter. But if you use it in #initializeWidget you just call

myButton := self newButton


More information about the Pharo-users mailing list