Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version