> I would like to specify an icon in a PluggableListMorph, but I cannot
> find my way :). Can anyone tell me how to do it?

You need to create a subclass of PluggableListMorph and LazyListMorph,
override #listMorphClass in the PluggableListMorph to return the lazy
morph class, and override the method #display:atRow:on: in the
LazyListMorph subclass to customize the low-level drawing of the list
item.

As you imagined all pretty simple and strait-forward, have a look at
the OB-Morphic for an example :-)

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to