marking active menu items

Hilaire Fernandes hilaire at ext.cri74.org
Thu Jan 19 21:37:33 UTC 2006



stéphane ducasse a écrit :
>> So I take it you are not interested in only showing
>> active items..  As far as I know, MenuItemMorphs don't
>> have a 'enabled' boolean but you could probably
>> subclass MenuItemMorph to add it..
> 
> 
> If you do what chris suggested it may be worth to do it in the 
> MenuItemMorph
> itself and send it to the morphic team so that it gets added to morphic
> 
> I think that this is a good functionality and we could avoid having 
> subclass proliferation.
> We are trying to see with lukas how to add icons to list items. This  is
> a feature that would make
> the browsers giving a lot more information.

A general mechanism where MenuItemMorph can be any kind of Morph will be
a very valuable addition. But may be it is already possible. I can try
to help if needed.

Hilaire




More information about the Squeak-dev mailing list