Programmer's Reference

Basic dependents mechanism

addDependent:, broadcast:, broadcast:with:, changed, changed:, dependents, release, removeDependent:, update:

Note:For details on the dependents mechanism see Chapter 14 of the Blue Book. The dependents mechanism is really a legacy from earlier Smalltalk graphics implementations. It was used to force updates in cases where several windows provided views on the same object or several closely related objects. It is no longer used in modern GUI systems like Common Graphics and Common Widgets. Consequently, we have included only the basic protocol in CLDT.
Porting tip:All Smalltalk dialects use the same basic messages to implement the dependents mechanism, with one exception: Smalltalk/V does not support removeDependent:. Both Smalltalk/V and Objectworks\Smalltalk provide a number of additional (and different) messages that extend the basic mechanism.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]