API Reference | developer.brewmp.com API Reference | developer.brewmp.com


API Reference


Brew Release
Brew MP 1.0.2
See Also
- IModel Interface - ITextModel Interface
IRichTextModel is inherited from the IModel interface and is used to add, get and delete tags associated with a text model. This interface can also be used to serialize a text model's text and tags into a markup text string or deserialize a markup text string into a text model's text and tags.
The interface provides object reference counting mechanisms that allow objects to manage their own memory instances. In addition, the interface provides APIs for registering a listener with a rich text model.

See IModel usage, the IRichTextModel is generally associated with a TextWidget. Additionally, IRichTextModel can be used to serialize and deserialize text to a more permanent medium through the IRichTextModel_GetMarkupText and IRichTextModel_SetMarkupText.