Connectors: Label

Ned Konz ned at squeakland.org
Tue Jan 11 21:03:55 UTC 2005


On Tuesday 11 January 2005 4:18 am, Daria Spescha wrote:

> I have a small question concerning Connectors 1.9:
> Is there a possibility to access the label of a connector? I draw a
> connection and add a label to it. Now I would like to get the content
> (what I have written). Is this possible?

How about

 myConnector labels collect: [ :label | label string ]

or

  myConnector labels collect: [ :label | label text ]

and you can change the contents using 'string:' and 'text:' as I recall.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list