Brew MP 1.0.2
TextModel class contains implementation of ITextModel
Usually used in conjunction with a TextWidget, the TextModel provides facilities for
managing text data and attaching listeners to the TextModel. The listener includes a
callback function that BREW will call whenever the model has changed state, thereby
notifying the owner of the listener that data has changed. This is especially convenient
for text widgets, as a means of receiving notifications from BREW when the text entered
into the control's edit region has been changed.
The Text Model class is instantiated by passing AEECLSID_TextModel
The TextModel is reference counted. When you are done with your reference to the TextModel,
you should release that reference. Any model specific cleanup will be handled for
you when all references are released.