---
name: "mtext_property"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mtext_property"
---

# mtext\_property(3m17n)

## NAME

mtext\_property -

## SYNOPSIS

**MTextProperty**\* **mtext\_property** (MSymbol *key*, void \* *val*, int *control\_bits*)

## DESCRIPTION

Create a text property. The **mtext\_property()** function returns a newly allocated text property whose key is **key** and value is **val**. The created text property is not attached to any M-text, i.e. it is detached.

**control\_bits** must be 0 or logical OR of `enum` `MTextPropertyControl`. \

## COPYRIGHT

Copyright (C) 2001 Information-technology Promotion Agency (IPA)\
 Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)\
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License  \<http://www.gnu.org/licenses/fdl.html\>.
