Hi,
I am just starting with Squeak, it is something completely different from all other programming languages/environments I saw before. Very interesting. I am using Squeak 5.2 for Linux (under FreeBSD-12 Linux compatibility layer), it works. Coming to the question. I found this package called Connectors. I tried to connect some Morphs with "Curvy Arrow" and it all works fine, clicking on the GUI. But, if I try make a connector from the Workspace I can't see the line and I don't understand well what happens. For example, If i run this code ----- https://wiki.squeak.org/squeak/1773 ----- green := Morph new color: Color green; position: 100@200; openInWorld. red := Morph new color: Color red; position: 100@300; openInWorld. c2 := NCAAConnectorMorph new connectStartTo: green ; connectFinishTo: red ; openInWorld. ------------------------------------------ I see the two rectangles but I don't see the connector. I tried to inspect madly the "c2" object but I can't find how it is different from a Curvy Arrow that is actually displayed. I installed Connectors via SqueakMap, the latest release I saw (I can't see the number now, probably because the package is already installed). Any ideas ? bye Nicola _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Hi. I just tried your methods and see that it works in my image. Rooting around, I see that I made a change to NCLineMorph to comment out a check for balloonCanvas or postscritpCanvas, and instead just claim the canvas isn't one of those. With this change, I can see the connector; without, I cannot. I haven't figured out why this change is needed, and so haven't pushed it into the main repository. I have attached a changeset with just this change that should (I hope) make it work for you. Thanks, cbc On Thu, Jul 11, 2019 at 3:25 AM Nicola Mingotti <[hidden email]> wrote:
_______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners NCLineMorphDrawon.1.cs (1K) Download Attachment |
Hi Chris,
Using Connectors release 5.2, for Squeak 5.2, that solved it. thank you n. On 7/11/19 6:02 PM, Chris Cunningham
wrote:
_______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Free forum by Nabble | Edit this page |