Function TextEdit.readonly

If true, read-only mode is enabled. Existing text cannot be modified and new text cannot be added.

bool readonly() nothrow @property @nogc;

void readonly (
  bool v
) nothrow @property @nogc;