PluggableListMorphs

Frank Urbach frank.urbach at schmees.com
Sat Dec 9 18:51:18 UTC 2006


Hi Andrew,

I think you should'nt work directly with the PluggableListMorph. 
Here an example from my own application: 

planningWidget
 ^ PluggableListMorph
  on: self
  list: #orderList
  selected: #orderListIndex
  changeSelected: #orderListIndex:
  menu: #orderListMenue:
  keystroke: nil

The #orderListIndex: is an accessor to the instance variable orderListIndex.
When you use the #listOrderIndex: 0 you have to tell your ui something was
changed. These you can do with  self changed: #orderListIndex. 
It works in my application.

Hope this helps.

Cheers,
  Frank



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20061209/6e255cd6/attachment.htm


More information about the Squeak-dev mailing list