---
name: "XmTextSetEditable"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmTextSetEditable"
---

# XmTextSetEditable(3)

A Text function that sets the edit permission

## NAME

**XmTextSetEditable** — A Text function that sets the edit permission

## SYNOPSIS

```
#include <Xm/Text.h>
void XmTextSetEditable(
Widget widget,
Boolean editable);
```

## DESCRIPTION

**XmTextSetEditable** sets the edit permission state of the Text widget. When set to True, the text string can be edited.

- *widget*

  Specifies the Text widget ID

- *editable*

  Specifies a Boolean value that when True allows text string edits

For a complete definition of Text and its associated resources, see [**XmText**(3)](/XmText/3.md).

## RELATED

[**XmText**(3)](/XmText/3.md).
