Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## rich-text

Arguments: widget

Returns (or sets with setf) the rich-text string displayed in rich-edit, which must be an instance of the `rich-edit` control class. Using this widget property is similar to calling the function rich-edit-range on the window of the rich-edit control (the result of applying window to the control) and using the default values of the keyword arguments.

See cg-rich-text.htm for information about rich text editing in Common Graphics.

### GTK note

Formated editable text is not yet implemented on the GTK platform. It appears feasible to implement functions such as set-character-format and set-paragraph-format that modify the text formatting of an edit control, but not to implement functions such as rich-text and rich-edit-range that handle actual rich text strings.

Attempting to create a `rich-edit` widget or a `rich-edit-pane` window currently will error on GTK.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version