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

# mframe\_get\_prop(3m17n)

## NAME

mframe\_get\_prop -

## SYNOPSIS

void\* **mframe\_get\_prop** (**MFrame** \* *frame*, MSymbol *key*)

## DESCRIPTION

```
@brief Return property value of frame.
The mframe_get_prop() function returns a value of property @b key
of frame @b frame.  The valid keys and the corresponding return
values are as follows.
```

```
        key             type of value   meaning of value
        ---             -------------   ----------------
        Mface           MFace *         The default face.
        Mfont           MFont *         The default font.
        Mfont_width     int             Width of the default font.
        Mfont_ascent    int             Ascent of the default font.
        Mfont_descent   int             Descent of the default font.
```

```
In the m17n-X library, the followings are also accepted.
```

```
        key             type of value   meaning of value
        ---             -------------   ----------------
        Mdisplay        Display *       Display associated with the frame.
        Mscreen         int             Screen number of a screen associated
                                        with the frame.
        Mcolormap       Colormap        Colormap of the frame.
        Mdepth          unsigned        Depth of the frame.
```

## 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\>.
