Connectors drawing embedded in StarBrowser
ken at kencausey.com
Thu Jan 9 21:53:31 UTC 2003
OK. I think I'm about as close as I can get now without considerably
more effort. I've used the layout menu under the red halo menu and
believe I have it laying out to fit in the pane and I adjusted the
insets. Still no flaps but I'm starting to think that there are only
EVER one set of flaps. If I use the world flaps and drag and drop an
object onto the NCWorldMorph it gets embedded! Rock. Only problem left
I think is with items like the 'Draw Shape' button which probably refer
to the world in some way. When I press it I get a MessageNotUnderstood:
On Thu, 2003-01-09 at 15:31, Ken Causey wrote:
> (replying to myself)
> Well I accidentally got closer by deleting the floating Project window
> (failed to mention that that hangs around) before removing the
> StarBrowser item. Results can be seen at
> For some reason there's a bit of a border at the top and left sides and
> the flaps don't move. In fact I'm guessing that the PasteUpMorph is now
> TOO big and is being clipped.
> P.S. I'm on the #squeak IRC channel (available on irc.freenode.net and
> irc.squeakfoundation.org) if anyone is interested.
> On Thu, 2003-01-09 at 15:20, Ken Causey wrote:
> > I'm trying to get a Connnectors drawing to show up as a StarBrowser item
> > and I've made some progress but I'm not quite there. You can see an
> > example of what I'm ending up with so far at
> > http://kencausey.com/SBWithConnectors.jpg
> > This is the result of choosing add object.. and using the code
> > | aworld aproject |
> > aworld _ NCWorldMorph new initialize.
> > aproject _ NCDrawingProject newMorphicOn: aworld.
> > aproject changeSet name: NCDrawingProject newProjectName.
> > aproject world addMorph: aproject buildBasicToolbar.
> > ^ aworld.
> > I had a slightly different result yesterday where the PasteUpMorph
> > nearly filled the the pane but the flaps weren't position so that they
> > could be seen. At that time I wasn't yet adding the toolbar. Seems
> > like I somehow need to link the size of the NCWorldMorph to the size of
> > the pane but I can't quite see how to do so.
> > Anybody else tried to get a similar result?
> > Is there another way to embed a connectors drawing other than using
> > NCDrawingProject?
> > Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030109/47e2725a/attachment.pgp
More information about the Squeak-dev