Re: [Pharo-users] have a question for morphic Designer in pharo.
I was successfull in making Designer start in Pharo 3.0 30659, with some help from Tobias Pape. The following changes were needed (compared to what was needed for Pharo 2.0) - floodfill2:at: is gone from Form. I replaced it with a simple fillColor: That it had gone missing was not clear from issue 11570 - outsetBy: is deprecated and replaced by expandBy: in a lot of places - (some symbol or string or something else, #:) asSymbol is replaced by ... asMutator in a lot of places. - TranslucentColor is replaced by Color TextMorph handleInteraction:forEvent: no longer exists, but gives a different problem in Pharo 2 than in 3 just replacing it by handleInteraction: does not work. That makes a mess of the selection in theUiTextLineMorphs in the object inspector. Stephan
great! "source: (self ui widgetList);" this code line is real solution. before i dont know, where inittilize "source". drag and drop is ok. and look object is ok. but cannot edit object property.(maybe mouse focus event problem) encounter new error then make new thread right? ps. thank you. Stephan Eggermont/Stéphane Ducasse
This is really cool :) I would love to see how we could change the event system used because using thisContext all the time does not work and breaks the idea of not reifying the stack all the time. Once it will be working, it would be really nice to see if we can generate spec specification. Stef
I was successfull in making Designer start in Pharo 3.0 30659, with some help from Tobias Pape.
Tx tobias.
The following changes were needed (compared to what was needed for Pharo 2.0) - floodfill2:at: is gone from Form. I replaced it with a simple fillColor: That it had gone missing was not clear from issue 11570 Do you like method with floodFill23 in their name and not invoked at all :)?
- outsetBy: is deprecated and replaced by expandBy: in a lot of places we also cleaned a lot the logic and added MorphMargin to support polymorphic margins. So may be this is beneficial
- (some symbol or string or something else, #:) asSymbol is replaced by ... asMutator in a lot of places. - TranslucentColor is replaced by Color
<PastedGraphic-1.png>
TextMorph handleInteraction:forEvent: no longer exists, but gives a different problem in Pharo 2 than in 3 just replacing it by handleInteraction: does not work. That makes a mess of the selection in theUiTextLineMorphs in the object inspector.
That I have no idea.
Stephan
participants (3)
-
peter yoo -
Stephan Eggermont -
Stéphane Ducasse