+1 :) Offray On 26/06/16 02:56, stepharo wrote:
|
I was not complaining about Spec, just reporting my experience
with the various UI toolkits in Pharo as a relatively newbie to
this area of Pharo.
On 26/06/16 23:39, Offray Vladimir Luna
Cárdenas wrote:
|
No Spec is a helper API to help you make GUIs quickly, its not a Morphic replacement. Bloc is the Morphic replacement and it has something similar to Spec called Brick. The GUI situation in pharo is not good, Pharo forked Morphic from Squeak, a well designed API that its design was not followed as it extended and it turned ugly in the process and none actually bother documenting it other than small fragments here and there. Bloc tries to clean up that design at least the Bloc I tried a year ago, I hear now that a lot of thing have changed.On Thu, Jun 30, 2016 at 2:57 PM Tommaso Dal Sasso <[hidden email]> wrote:
|
In reply to this post by Tommaso DS
Hi Tommaso,
thanks for the explanation! I did not mean to point fingers at you for complaining, I was just trying to figure out what the problem was. So thanks again for sharing. This is indeed not yet possible, and it would be cool to have it working. However there is a workaround since you can take any Morph and embed it in a Spec UI. For example: initializeWidgets | … textMorph … | [… do a lot of other stuff …] textMorph := LabelMorph newLabel:’asdf’. textMorph color: Color red. text := textMorph asSpecAdapter. Voila, a label with red text. -- Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org . Johan Fabry - http://pleiad.cl/~jfabry PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile
|
Free forum by Nabble | Edit this page |