Thanks Lukas. Indeed, it is straightforward :). I will give it a try. Cheers, Doru On 11 Sep 2009, at 20:28, Lukas Renggli wrote:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- www.tudorgirba.com "If you interrupt the barber while he is cutting your hair, you will end up with a messy haircut."