[squeak-dev] [Question] How do I add a morph to the ObjectsTool?

Bert Freudenberg bert at freudenbergs.de
Tue Nov 8 17:22:20 UTC 2016


On Tue, Nov 8, 2016 at 5:20 AM, H. Hirzel <hannes.hirzel at gmail.com> wrote:

>
> descriptionForPartsBin
>         ^ self partName:        'TagTool'
>                 categories:             #('Text')
>                 documentation:  'A tool which offers tags for projects'
>

Works for me. Adding this to the class side of your morph is enough to make
it appear in the objects tool or flap. Just switch away from the 'Text'
category, and switch back.

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20161108/a845c0eb/attachment.html>


More information about the Squeak-dev mailing list